Newest 'docker' Questions - Stack Overflow

Questions tagged [docker]

Docker provides a high-level API to containerize processes and applications with some degree of isolation and repeatability across servers. Docker supports both Linux and Windows containers running on x86/64, ARM and other architectures.

0
votes
0answers
2 views

Why volume host folder is empty for docker

I am using docker for windows on Win 10 Pro. When I run a docker with volume on host, it works fine however I am unable to see any files in d:\nopdata docker run -v D:\nopdata:/src/Presentation/Nop....
-4
votes
0answers
10 views

Please help setting up 2 local dockers - Percona Online and Mysql 5.7x

enviornment is docker, windows 10, local laptop, step by step explanation how to 1. set up percona server for mysql toolkit and MySQL containers 2. connect the 2 containers 3. run an example pt-...
0
votes
0answers
6 views

Unable to access couchbase node outside of docker

I have a couchbase docker setup. The container was up and running. I am able to access couchbase console using http://localhost:8091. But I see The couchbase node is still in docker host. I couldn't ...
-1
votes
0answers
22 views

How can I create a docker image from my ionic application?

I've developed a web application with ionic and now I need create a image docker from this application with all the components (modules, resources, page, provider, etc). I've already tried with the ...
0
votes
0answers
8 views

How to install editbin.exe without installing an entire Visual Studio?

I am trying to move my current build server, which is based on Visual Studio, to a containerized environment. As such, I am trying to use the mcr.microsoft.com/dotnet/framework/sdk:4.7.2-...
0
votes
3answers
20 views

How to start mongodb from dockerfile

I'm building a dockerfile. But I meet a problem. It says that : /bin/sh: 1: mongod: not found My dockerfile: FROM mongo:latest FROM node RUN mongod COPY . . RUN node ./scripts/import-data.js ...
0
votes
0answers
5 views

Concourse not showing up on 8080 when running on GCP

I'm setting up a Concourse Docker container by following - https://concoursetutorial.com/ , but on GCP compute Engine. The tutorial says to access the UI at http://127.0.0.1:8080/ in your browser. ...
1
vote
2answers
16 views

What is the best practice for deploying my application on my VPS using Docker?

I do have a (Python Flask) application that I want to deploy using GitLab CI and Docker to my VPS. On my server I want to have a production version and a staging version of my application. Both of ...
0
votes
0answers
12 views

Systemd output in Docker without -t switch

When Docker image is started in terminal mode like: docker run --mount type=tmpfs,destination=/run --mount type=tmpfs,destination=/run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro --entrypoint '/bin/bash'...
0
votes
0answers
11 views

Nodes status still DOWN after servers restart

I ve a swarm cluster containing 4 nodes : 1 Manager + 3 Workers When restarting one worker'server , it's status becomes "DOWN" when running : docker node ls Also alredy deployed services shutdown ...
0
votes
0answers
9 views

Unable to connect to local Sql server from Docker swarm node

I have created an image of .Net Core Api demo named "WebAPIDemo" ,created a container for it and I am able to run it on my broswer on url localhost:8888/swagger. The docker is also installed on my ...
0
votes
0answers
12 views

docker login failed in travis ci

I am trying to build my docker image as part of my travis ci pipeline and push it up to docker hub. Looking at travis ci logs seems like everything work but when a command to docker login is ...
0
votes
0answers
15 views

How can use static Ip as external-IP at kubernates?

I want to set external-Ip as static. I succeed to make ClusterIP as static but I can not find any solution in anywhere for external_IP. I use below deployment yaml: apiVersion: extensions/v1beta1 ...
0
votes
1answer
20 views

Can't access docker at localhost:3000

I'm following the following tutorial: https://medium.com/@khwsc1/a-simple-react-next-js-app-development-on-docker-6f0bd3f78c2c When I try to access localhost:3000 however I get a "This site can’t be ...
0
votes
0answers
10 views

Java+docker RSS tuning for glibc bug

I have similar story as in question Growing resident memory usage (RSS) of Java Process jcmd NMT shows no issues. It has constant values. For example Native Memory Tracking: Total: reserved=...
0
votes
0answers
8 views

Running Docker Registrator and Spring Cloud Consul in Container at the same time possible?

I have created a small sample spring-boot-project with spring-cloud-consul and wrapped it in a docker container. Additionally i started a Consul Docker Container and a Docker-Registrator Container. ...
0
votes
0answers
26 views

Debug random SIGSEGV crash

We are experiencing random JVM crashes while running a Kafka Connect application in distributed mode. The connect application runs a custom connector with a custom task implementation. The application ...
0
votes
1answer
23 views

Developing with celery and docker

I have noticed that developing with celery in container, something like this: celeryworker: build: . user: django command: celery -A project.celery worker -Q project -l DEBUG links: ...
0
votes
1answer
9 views

Docker: Selenium Hub and a Chrome Node errors with [SEVERE]: bind() failed: Cannot assign requested address (99)

Our NightwatchJs tests started to fail with the error Starting ChromeDriver 75.0.3770.8 (681f24ea911fe754973dda2fdc6d2a2e159dd300-refs/branch-heads/3770@{#40}) on port 13969 Only local connections ...
0
votes
1answer
28 views

Docker is not recognized as an internal or external command

I have the following .gitlab-ci.yml file: image: docker:latest variables: DOCKER_DRIVER: overlay2 services: - docker:dind before_script: - docker info stages: - deploy step-deploy-dev: ...
0
votes
1answer
20 views

Pass Environment Variables to Angular Container Docker : Post Build

Recently i started working on Dockerizing my Angular App. After adding all the necessary files ( Dockerfile, docker-compose.yml, entrypoint.sh) i managed to build my image successfully. Then i had ...
0
votes
1answer
24 views

Laravel specify different name from `.env` or make ingore `.env` in order not to conflict with docker and docker-compose

Because I use docker and docker-compose instead of Homestead and any Vargrant-based solution for development, I want to avoid conflict with laravel on the use of .env file. Therefore, I want for the ...
0
votes
1answer
30 views

Using nginX and HTTPS downloads the index.php file instead of rendering it

I am using docker with nginx. When I go to: http://www.mypage.com Everything is fine, however when I add HTTPS it literally just downloads index.php. There is nothing written in the logs so I am ...
-1
votes
0answers
35 views

Docker container does/doesnt work inside kubernetes

I am a bit confused here. It does work as normal docker container but when it goes inside a pod it doesnt. So here is how i do it. Dockerfile in my local to create the image and publish to docker ...
0
votes
0answers
29 views

What's the difference between `cpus` and `cpu_count` in docker?

The docker-compose documentation states that: cpu_count, cpu_percent, cpu_shares, cpu_period, cpu_quota, cpus, cpuset, domainname, hostname, ipc, mac_address, mem_limit, memswap_limit, ...
0
votes
0answers
15 views

Infinite loop after logging in with Keycloak behind a reverse proxy

My scenario I have a server with IP x.x.x.x My web application is running on port 8083 of the server. Keycloak (deployed with docker) is running on port 8080 of the server. I want to setup nginx ...
0
votes
0answers
14 views

Traefik not work (404) with containers inside a worker node [docker swarm]

my problem is the following: I created a small swarm cluster consisting of 2 simple nodes: a manager and a worker. On the manager node I installed a stack with a Traefik service and a stack with the ...
0
votes
1answer
18 views

get logs from docker after container restarted

I can see with docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS ...
0
votes
0answers
9 views

How can I fix crash problem on AgensGraph?

Docker image of AgensGraph crashes on large graph running set command. Which part should I check for this problem?
0
votes
1answer
19 views

Dockerized Django app not applying unique constraint

I have two issues both of which are inter-related Issue #1 My app has an online Postgres Database that it is using to store data. Because this is a Dockerized app, migrations that I create no ...
0
votes
1answer
14 views

How to get specific request to be Served by Specific application (among multiple running Apps) in a POD in Kubernetes?

I have a Client-Server based application where my clients are available in a Kubernetes as PODs. Here, Clients-Server communication is Asynchronous. Assume I have five PODs of my client app (POD1, ...
0
votes
0answers
16 views

How to update the chaincode in Hyperledger Fabric?

I'm have been having some troubles updating my Hyperledger chaincode and even if I comment a function out, it is still possible to run this function. I'm using the Build Your First Network sample ...
0
votes
0answers
21 views

How the docker0 bridge is created and how it works?

I am struggling to understand docker0,brctl and iptables output.In my case brctl show bridge name bridge id STP enabled interfaces br-14dbdf7dc1d9 8000.02426e6d7817 no vethfff8921 ...
2
votes
1answer
27 views

FileNotFoundError: [Errno 2] No such file or directory + os.execv

I am creating a wrapper script to execute my python programs. The logic is like: I will install all my required modules in a docker container Pull the container and run the script, so anyone can ...
2
votes
1answer
26 views

Use ProxyPass configuration for Apache in docker

How do I use ProxyPass in Apache config that links to a different container? hard coding ip address works, but is there a more generic way to do this? Container1: apache listens on port 443 proxy ...
0
votes
1answer
10 views

Docker + Nginx host not found in upstream in docker

I'm trying to run Nginx and PHP-FPM containers with network_mode: host in docker-compose, when defining a network_mode as "bridge" it works fine, but when defining network_mode as "host" I receive : ...
1
vote
0answers
24 views

How to split automated tests to different containers

I'm used to launch Cucumber automated test against my own localhost, or a server containing my webapp, with @CucumberOptions, using parameter "tags=" where I put my tag to launch the tests related to ...
0
votes
0answers
19 views

Can't start Firefox WebDriver in a Jenkins pipeline [duplicate]

I'm trying to run automated tests in a Jenkins pipeline using Selenium's Docker images. I already have headless Chrome working, but not Firefox. Here is a minimal pipeline script: node { docker....
0
votes
0answers
8 views

Error response from daemon: Get https://registry-1.docker.io/v2/: invalid proxy URL port “PORT”

When I run the command "docker pull reportportal/service-jira" . We are getting error as "Using default tag: latest Error response from daemon: Get https://registry-1.docker.io/v2/: invalid proxy URL ...
0
votes
0answers
17 views

why I can't find runC in system which run docker 1.13.1?

I am working on docker security and now want to do some lab with CVE-2019-5736. The problem is that the security problem is about docker-runc but I can't find it on my system. Where to find it or why ...
1
vote
3answers
48 views

Meaning of root workspace - Executing docker run command

I execute a docker run command as shown below docker run -it --rm --net=host tensorrtserver_client When I execute this command, I see that command prompt changes from Rajini@server_name to ...
0
votes
1answer
27 views

Can't connect to mysql inside docker on osx

Lately, my docker container is refusing connections. It has worked well in the past, this issue is new and has no explanation so far. Stopping and restarting the container has no effect. I can ...
0
votes
0answers
13 views

Google Container Registry gives access denied when trying to push docker container

So I'm trying to push my docker image to gcr.io/docker-url, but it's not working. I've tried the documentation that Google has, but that's still failed (https://cloud.google.com/container-registry/...
0
votes
1answer
14 views

Error “No such container sandbox-hdp” when trying to install docker image on RHEL7

I am trying to get the HDP sandbox running on RHEL7. I am however getting "no such container sandbox-hdp" error message when I try to run docker-deploy-hdp30.sh. sudo sh docker-deploy-hdp30.sh + ...
0
votes
1answer
12 views

Grafana behind nginx: too many redirects

I'm trying to setup grafana as docker container behind Nginx using docker-compose. Any time I'm trying to reach the login page - I receive an error "Too many redirects". Nginx config: server { ...
1
vote
1answer
23 views

Connect to a host socket from a docker container

I have the following docker container FROM ubuntu:16.04 RUN apt-get update && apt-get install -y curl net-tools netcat nmap CMD /bin/bash I run it with volume /tmp mapped From host, I ...
0
votes
1answer
24 views

What are the pros and cons of different types of remote deployment in CD?

I'm currently diving in the world of CI/CD and I have a question which hasn't been answered by any information on the internet. Currently I'm demonstrating a software factory that drags a program ...
0
votes
0answers
27 views

How to build PyQt5 app into a windows executable file using Docker?

What is the best way to convert the following simple hello_world.py script in a windows folder to an .exe file for clients that do not have Python environment setup on their machine using Docker? ...
1
vote
1answer
33 views

Docker - Share local storage between services

I'm building a multi-container App. Here is the overall view of the working directory: MABSED/ |_ docker-compose.yml |_ ... |_ streamer/ | |_ Dockerfile | |_ startStreaming.py | |_ credentials.py |...
1
vote
1answer
33 views

Getting the name of the container from within the container

I would like to get the docker container name from within a container. I need this information because I am running a script from the Dockerfile as an ENTRYPOINT that needs to know the node number. I ...