Most voted questions in Docker

+6 votes
1 answer

DevOps in Government

I think it would be a great ...READ MORE

Sep 24, 2018 in Docker by Hannah
• 16,210 points
28 views
+6 votes
3 answers

Difference between image and container - Containerization cencepts

Entire concept of docker and Kubernetes is ...READ MORE

Sep 12, 2018 in Docker by Kalgi
• 41,990 points
324 views
+6 votes
4 answers

Error: Docker saying "bad file descriptor"

The solution was easy enough. Add these ...READ MORE

Mar 26, 2018 in Docker by DragonLord999
• 8,380 points
1,117 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

Aug 27, 2018 in Docker by Mahesh Ajmeria
1,032 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

Oct 16, 2018 in Docker by lina
• 8,110 points

edited Oct 16, 2018 by lina 5,224 views
+3 votes
3 answers

Not able to connect worker nodes to the swarm. Connection refused error

This definitely has to be a firewall issue. ...READ MORE

Apr 26 in Docker by Vaidya
4,598 views
+2 votes
1 answer

getting error "Error response from daemon: OCI runtime create failed"

FROM: ubuntu:latest MAINTAINER rajendrachowdary40@gmail.com RUN apt-get update RUN apt-get install ...READ MORE

Aug 16 in Docker by Rajendra
• 450 points
237 views
+2 votes
2 answers

Running httpd in container as non-root user using port 80

You could probably try adding this cmd in ...READ MORE

Aug 9 in Docker by Sirajul
• 35,810 points
239 views
+2 votes
1 answer

Cannot connect to docker swarm service task

The id that command docker service ps <service> gives ...READ MORE

Sep 26, 2018 in Docker by Kalgi
• 41,990 points
64 views
+2 votes
1 answer

Nodes not able to join docker swarm cluster

You need to provide more information like ...READ MORE

Sep 26, 2018 in Docker by Kalgi
• 41,990 points
245 views
+2 votes
1 answer

Creating docker swarm using ansible

hello @hannah, You need to use the ...READ MORE

Sep 26, 2018 in Docker by Kalgi
• 41,990 points
779 views
+2 votes
4 answers

How to install packages inside a docker Ubuntu image?

Execute the update and the install command ...READ MORE

Apr 24 in Docker by Vismaya
4,087 views
+2 votes
6 answers

If conditional in docker file

You can use the test command RUN test ...READ MORE

Dec 10, 2018 in Docker by Shushant
18,062 views
+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

Dec 10, 2018 in Docker by Prateek
7,548 views
+1 vote
1 answer

what is the difference between docker swarm and kubernetes

Both Kubernetes and Docker Swarm are important ...READ MORE

Sep 24 in Docker by Sirajul
• 35,810 points
375 views
+1 vote
0 answers

Kitematic is taking longer time

Hi All, Kitematic UI is taking longer time ...READ MORE

Sep 6 in Docker by Manjunathan
• 130 points
86 views
+1 vote
0 answers
+1 vote
1 answer

Build Docker image for PHP Web application - ADD failed

Thank you Sirajul Yes, I have changed it ...READ MORE

Jul 15 in Docker by limcw
• 270 points
121 views
+1 vote
1 answer

Docker for Windows Error: Open cmd executing docker machine env

You can put the commands in: Shortcut Properties ...READ MORE

Nov 12, 2018 in Docker by Tyrion anex
• 8,270 points
84 views
+1 vote
1 answer

Unable to run Docker commands on Windows

This problem occurs because, docker daemon is ...READ MORE

Oct 25, 2018 in Docker by Sophie may
• 9,850 points
59 views
+1 vote
1 answer

How to mount private SSH key on Docker for Windows container?

You could use a volume with -v ...READ MORE

Oct 25, 2018 in Docker by Sophie may
• 9,850 points
300 views
+1 vote
1 answer

What is the default amount of memory provided for Windows Docker containers?

Docker for Windows containers by default get: On ...READ MORE

Oct 25, 2018 in Docker by Sophie may
• 9,850 points
49 views
+1 vote
3 answers

Docker on Windows error: “docker pull redis” fails

The problem is that this was pushed ...READ MORE

Oct 18, 2018 in Docker by Hannah
• 16,210 points
199 views
+1 vote
1 answer

Can't recover docker swarm from pending state

First, note the node IDs On manager node: docker ...READ MORE

Sep 26, 2018 in Docker by Kalgi
• 41,990 points
704 views
+1 vote
3 answers

How do I execute multiple commands using docker-compose

You can also use the depends_on option ...READ MORE

Apr 22 in Docker by Kavya
14,136 views
+1 vote
1 answer

How do I start a shell session in a running container without using ssh

Here is what you can try. you should ...READ MORE

Sep 10, 2018 in Docker by Damon Salvatore
• 5,510 points
85 views
+1 vote
7 answers

How to connect to a Docker container running mysql on Windows 10?

Avoid using bind_address in your my.cnf file. I don't ...READ MORE

Apr 25 in Docker by Haseeb
2,859 views
+1 vote
1 answer

Load balance docker swarm

There could be two possibilities  The command in docker-compose.yml file should be ...READ MORE

Aug 23, 2018 in Docker by Kalgi
• 41,990 points
131 views
+1 vote
4 answers

Docker Compose wait for container X before starting Y

You can use the depends_on feature was ...READ MORE

May 6 in Docker by Kunal
1,931 views
+1 vote
1 answer

How to deploy a java app to Docker?

If you are having JAR file, the quickest ...READ MORE

Aug 2, 2018 in Docker by Damon Salvatore
• 5,510 points
45 views
+1 vote
1 answer

How to expose docker container's ip and port to outside docker host without port mapping?

you can accomplish this with IP aliasing ...READ MORE

Aug 2, 2018 in Docker by Kalgi
• 41,990 points
2,856 views
+1 vote
2 answers

Add Insecure Registry to Docker

I added into /etc/default/docker file DOCKER_OPTS="--insecure-registry <myip>:5000" I edited that ...READ MORE

Apr 26 in Docker by Hitesh
2,766 views
+1 vote
5 answers

My docker container has no internet

Try resetting all the parameters pkill docker iptables -t ...READ MORE

Jul 31, 2018 in Docker by Kalgi
• 41,990 points
1,988 views
+1 vote
4 answers

Docker compose, running containers in net:host

Hey@Hannah, Check the compose file format specifications ...READ MORE

May 7 in Docker by Kishore
1,652 views
+1 vote
4 answers

Communication between multiple docker-compose projects

You just need to make sure that ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 41,990 points
3,008 views
+1 vote
1 answer

Docker Container Networking with Docker-in-Docker

Given your example docker-in-docker setup above, you ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 41,990 points
680 views
+1 vote
1 answer

How to push a docker image to a private repository

You need to tag your image correctly ...READ MORE

Jul 26, 2018 in Docker by Kalgi
• 41,990 points
102 views
+1 vote
1 answer

Error while running docker run command

This error occurs when your port is ...READ MORE

Jul 26, 2018 in Docker by Kalgi
• 41,990 points
145 views
+1 vote
4 answers

How to send application logs from docker to cloudwatch

There are 3 main steps involved it ...READ MORE

Mar 25 in Docker by RT
1,202 views
+1 vote
11 answers

How to run multiple commands in docker at once?

Try this: docker run image bash -c "cd ...READ MORE

Apr 17 in Docker by anonymous

edited Apr 17 by Kalgi 22,667 views
+1 vote
11 answers

How can I run a ‘docker exec’ command inside a docker container?

I guess there’s no docker runtime in ...READ MORE

May 14 in Docker by Frank
118,308 views
+1 vote
5 answers

Where are Docker images stored on the host machine?

The contents of the /var/lib/docker directory vary ...READ MORE

Jul 18, 2018 in Docker by Kalgi
• 2,620 points
2,640 views
+1 vote
5 answers

Set containers timezones by using docker compose.

version "2" services: serviceA: ...READ MORE

Jul 8, 2018 in Docker by Atul
• 10,240 points
3,128 views
+1 vote
2 answers

How to run docker containers on different machines

You can use labels and selectors for ...READ MORE

Oct 23, 2018 in Docker by Laila
98 views
+1 vote
4 answers

COPY is not working in Docker

I had the exact same issue. I ...READ MORE

May 6 in Docker by Emilia
1,986 views
0 votes
0 answers

Devops certification project: Dockerfile and PHP website

I have followed the instructions for the ...READ MORE

1 day ago in Docker by Marcus
• 120 points
8 views
0 votes
1 answer

Docker compose to bring up a Prometheus server

I think this docker-compose should be helpful. ...READ MORE

Oct 23 in Docker by Eric
127 views
0 votes
1 answer
0 votes
1 answer

Docker error "ERROR: for nginx Cannot start service nginx: oci runtime error"

I had faced a similar issue and ...READ MORE

Sep 24 in Docker by anonymous
• 41,990 points
139 views
0 votes
1 answer

Run composer while I'm in container

Hey @DinoN, have a look at this ...READ MORE

Sep 30 in Docker by Sirajul
• 35,810 points
63 views