Most voted questions in Docker

+14 votes
19 answers

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

you can run any command in a ...READ MORE

Dec 10, 2018 in Docker by Pramiti
1,226,012 views
+6 votes
1 answer

DevOps in Government

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

Sep 24, 2018 in Docker by Hannah
• 18,570 points
385 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
• 52,360 points
924 views
+6 votes
4 answers

Error: Docker saying "bad file descriptor"

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

Mar 27, 2018 in Docker by DragonLord999
• 8,450 points
6,682 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
3,146 views
+4 votes
4 answers

How to install packages inside a docker Ubuntu image?

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

Apr 24, 2019 in Docker by Vismaya
45,119 views
+4 votes
3 answers

Copying files from host to Docker container

Hi, You can use the docker cp command ...READ MORE

Dec 9, 2020 in Docker by MD
• 95,440 points
348,205 views
+4 votes
7 answers

If conditional in docker file

First of all, create a build_internal.sh file ...READ MORE

May 29, 2018 in Docker by DareDev
• 6,890 points
120,236 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,220 points

edited Oct 16, 2018 by lina 33,015 views
+3 votes
1 answer

Docker swarm, not service not deploying to other nodes

Hi @Karenh. Try removing all the old images ...READ MORE

Jan 31, 2020 in Docker by Aisha
1,956 views
+3 votes
4 answers

How do I execute multiple commands using docker-compose

It can be solve by using bash -c ...READ MORE

Sep 20, 2018 in Docker by shubham
• 7,340 points
109,877 views
+3 votes
4 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, 2019 in Docker by Vaidya
18,040 views
+2 votes
1 answer

Error response from daemon: This node is already part of a swarm. Use "docker swarm leave" to leave this swarm and join another one.

Hi@akhtar, It is showing in the error that you ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,440 points
6,938 views
+2 votes
2 answers

COPY failed: stat /var/lib/docker/tmp/docker-builder/root/page: no such file or directory

I have faced the same error in ...READ MORE

Dec 3, 2020 in Docker by Tabish Ali
22,906 views
+2 votes
1 answer

How to plot graph inside docker container?

Hi@akhtar, To plot a graph we generally use ...READ MORE

May 19, 2020 in Docker by MD
• 95,440 points
6,060 views
+2 votes
1 answer
+2 votes
0 answers

trying to create a service to multiple nodes and getting "no such image"

How come this has come up as ...READ MORE

Feb 2, 2020 in Docker by Karenh
• 200 points
2,228 views
+2 votes
1 answer

Docker ulimit and ServerName errors

I have resolved the issue.  The resolution ...READ MORE

Jan 29, 2020 in Docker by Charles
• 230 points
3,592 views
+2 votes
1 answer

How to link one running container with other running container in docker.

Hi @Yuvraj! Yes, this is possible. You can ...READ MORE

Dec 16, 2019 in Docker by Kalgi
• 52,360 points
1,739 views
+2 votes
1 answer

How to Create absolute path

The absolute path of your resources refers ...READ MORE

Dec 3, 2019 in Docker by Karan
• 19,610 points
6,185 views
+2 votes
1 answer

Not able to create docker robot framework image

Did your try FROM Python3 READ MORE

Aug 21, 2020 in Docker by anonymous
1,908 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 17, 2019 in Docker by Rajendra
• 510 points
5,950 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, 2019 in Docker by Sirajul
• 59,230 points
5,566 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
• 52,360 points
1,307 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
• 52,360 points
1,644 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
• 52,360 points
2,282 views
+2 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

Jul 19, 2018 in Docker by Sophie may
• 10,610 points
248,111 views
+2 votes
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,680 points
11,814 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
33,147 views
+1 vote
0 answers

How to keep Docker container running after starting services?

Although I've read many instructions that appear ...READ MORE

Dec 13, 2022 in Docker by Edureka
• 13,620 points
782 views
+1 vote
0 answers

What does COMMAND in 'docker ps' mean?

docker ps or docker container ls displays ...READ MORE

Apr 20, 2022 in Docker by pranav
• 2,590 points
781 views
+1 vote
0 answers

unable to build docker-compose.yml file

I am trying to create container with ...READ MORE

Feb 8, 2021 in Docker by Amit
• 130 points
1,349 views
+1 vote
1 answer

How to add or remove label metadata in the swarm node?

Node labels provide a flexible method of ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,440 points
3,360 views
+1 vote
1 answer

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Hi@akhtar, It seems the docker service is not ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,440 points
15,212 views
+1 vote
1 answer

How to mount a host directory in a Docker container?

Hi@akhtar, You can use the -v option in ...READ MORE

Dec 23, 2020 in Docker by MD
• 95,440 points
2,025 views
+1 vote
1 answer

How to write ansible play book to install docker and start docker container with docker image on multiple host machines

Hi@Shashi, You can do this task easily with ...READ MORE

Oct 22, 2020 in Docker by MD
• 95,440 points
6,185 views
+1 vote
1 answer

Slow Docker Pull

Hi@Allahshukar, As you said your docker clients are ...READ MORE

Oct 7, 2020 in Docker by MD
• 95,440 points
3,681 views
+1 vote
1 answer

How to rename Docker images without rebuilding it?

Hi@akhtar, You can rename your docker image by ...READ MORE

May 19, 2020 in Docker by MD
• 95,440 points
41,216 views
+1 vote
1 answer

How to run jenkins service inside docker container?

Hi@akhtar, By default systemctl command will not run ...READ MORE

May 12, 2020 in Docker by MD
• 95,440 points
5,249 views
+1 vote
1 answer

How to change the default IP address of docker bridge adapter?

Hi@akhtar, You can reconfigure the default bridge network ...READ MORE

May 11, 2020 in Docker by MD
• 95,440 points
6,412 views
+1 vote
1 answer

How to install packages in a Docker container?

Hi@akhtar, To install packages in a docker container, ...READ MORE

Apr 15, 2020 in Docker by MD
• 95,440 points
140,276 views
+1 vote
0 answers

How can I map a docker location to my Jenkins workspace so that I can use the files in my Jenkins

Hey guys, I was trying to execute few ...READ MORE

Feb 25, 2020 in Docker by dineshkumar
• 130 points
4,630 views
+1 vote
1 answer

Docker-compose up throwing error

the issue is with space formatting of ...READ MORE

Feb 29, 2020 in Docker by anonymous
7,458 views
+1 vote
1 answer

Remove volume attached to a docker container

If the volume is being referenced by ...READ MORE

Nov 25, 2019 in Docker by Aria
1,237 views
+1 vote
1 answer

Devops certification project: Dockerfile and PHP website

Try using relative paths. Recently, even I ...READ MORE

Nov 14, 2019 in Docker by Eric
2,876 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, 2019 in Docker by Sirajul
• 59,230 points
1,956 views
+1 vote
0 answers

Kitematic is taking longer time

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

Sep 6, 2019 in Docker by Manjunathan
• 130 points
1,280 views
+1 vote
1 answer

How do i install jenkins using a dockerfile on a windows container?

Here is to how you can install JENKINS ...READ MORE

Aug 22, 2019 in Docker by Sirajul
• 59,230 points
5,856 views
+1 vote
0 answers

Not able to access the nginx container from IE or Chrome but from host service I can do curl http://localhost:port number

Not able to access the nginx container ...READ MORE

Aug 13, 2019 in Docker by anonymous
1,749 views
+1 vote
1 answer

Docker error "DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!] "

Did you generate/create a certificate?? If not ...READ MORE

Jul 31, 2019 in Docker by Kavya
3,969 views