Trending questions in Docker

+5 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
655,818 views
+3 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,140 points
212,039 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,550 points
126,045 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,320 points
67,040 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
65,777 views
0 votes
7 answers

docker: executable file not found in $PATH

try to build the image with --no-cache. I ...READ MORE

Nov 1, 2020 in Docker by Deeptesh Agrawal
36,259 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,140 points
26,461 views
+1 vote
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
16,140 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,140 points
15,675 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,140 points
2,617 views
+1 vote
0 answers

unable to build docker-compose.yml file

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

Feb 8 in Docker by Amit
• 130 points
153 views
0 votes
1 answer

How to fix unhealthy Docker Container? what could be the reason behind unhealthy status?

Restarting of unhealthy container feature was in ...READ MORE

Oct 30, 2020 in Docker by Rajendra
3,945 views
0 votes
1 answer

Error: error response from daemon get https //registry-1.docker.io/v2/ connection refused

Hi@akhtar, Sometimes it happens. I also faced this ...READ MORE

Aug 27, 2020 in Docker by MD
• 95,140 points
6,519 views
0 votes
1 answer

How to enable SSH inside Docker container?

Hi@akhtar, To enable SSH inside Docker Container, you ...READ MORE

Jun 4, 2020 in Docker by MD
• 95,140 points
9,938 views
0 votes
1 answer

How to configure autoscaling on docker swarm?

Hi@akhtar, There are no concepts available on the ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
367 views
0 votes
1 answer

How to create docker image from EC2?

Hi@Lakshminarayanan, As you said you have a Windows ...READ MORE

Dec 30, 2020 in Docker by MD
• 95,140 points
133 views
0 votes
1 answer

What is the difference between bridge network and overlay network?

Hi@akhtar, The Bridge is the default network driver. If ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
199 views
0 votes
1 answer

How to change node availability in docker swarm?

Hi@akhtar, You can change the node availability according to ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
204 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,140 points
137 views
0 votes
1 answer

How to rename docker service in swarm?

Hi@akhtar, You can run the docker service update ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
154 views
0 votes
1 answer

How to remove a worker node from the docker swarm cluster?

Hi@akhtar, To remove a worker node from the ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
262 views
0 votes
1 answer

How to disable docker swarm mode?

Hi@akhtar, You can use the docker swarm leave ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
86 views
+1 vote
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,140 points
209 views
0 votes
1 answer

How to get logs in Docker Swarm?

Hi@akhtar, You can get the logs of your ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
72 views
0 votes
1 answer

How to get the hostname of the manager node in the Docker swarm?

Hi@akhtar, You can find the manager hostname using ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
229 views
0 votes
1 answer

How to create an overlay network in Docker swarm?

Hi@akhtar, To create an overlay network for use ...READ MORE

Dec 28, 2020 in Docker by MD
• 95,140 points
58 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,140 points
186 views
0 votes
1 answer

How to connect to the localhost of the machine from the Docker container?

Hi@akhtar, You can use --network="host" in your docker run command. It will ...READ MORE

Dec 23, 2020 in Docker by MD
• 95,140 points
199 views
0 votes
1 answer

How to create a Docker swarm in Linux system?

Hi@akhtar, You need to initialize one node with ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
62 views
0 votes
1 answer

How to add one worker node to the Docker swarm?

Hi@akhtar, You will get one token when you ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
53 views
0 votes
1 answer

What is Docker Swarm?

Hi@akhtar, A Docker Swarm is a group of ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
53 views
0 votes
1 answer

How to delete services from Docker swarm cluster?

Hi@akhtar, You can delete your services with the ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
44 views
0 votes
1 answer

How to create a service in Docker swarm?

Hi@akhtar, To create a service in Docker swarm, ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,140 points
42 views
0 votes
1 answer

How Docker is different from a virtual machine?

Hi@akhtar, Docker is container-based technology and containers are ...READ MORE

Dec 23, 2020 in Docker by MD
• 95,140 points
61 views
0 votes
1 answer

Re: VMSetError: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87)

Hi@akhtar, You need to run the below command ...READ MORE

Dec 21, 2020 in Docker by MD
• 95,140 points
89 views
0 votes
1 answer

How to use Docker Machine to provision hosts on virtualbox?

Hi@akhtar,  You can run the docker-machine create command, pass the ...READ MORE

Dec 21, 2020 in Docker by MD
• 95,140 points
51 views
0 votes
1 answer

How to switch to another host in Docker Toolbox?

Hi@akhtar, You can change the host from your ...READ MORE

Dec 21, 2020 in Docker by MD
• 95,140 points
48 views
0 votes
1 answer

Error starting daemon: pid file found, ensure docker is not running or delete /var/snap/docker/179/run/docker.pid

Hi@akhtar, It means the previous PID file of ...READ MORE

Apr 14, 2020 in Docker by MD
• 95,140 points
10,436 views
0 votes
1 answer

How can i start with DOCKER as a back-front end web dev?

Hi@aminegac, For running an application you need an ...READ MORE

Dec 4, 2020 in Docker by MD
• 95,140 points
104 views
0 votes
1 answer

How to run firefox inside docker container?

Hi@akhtar, Generally, if you run firefox inside docker ...READ MORE

Apr 16, 2020 in Docker by MD
• 95,140 points
9,995 views
0 votes
4 answers

I'm trying to run docker with Jenkins pipeline but I'm facing this Jenkins pipeline error and a socket.io error.

This happens when the Jenkins user is ...READ MORE

Jun 26, 2018 in Docker by Sophie may
• 10,550 points
23,517 views
0 votes
1 answer

mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied

Hi@akhtar, You are getting this error because Grafana ...READ MORE

Sep 6, 2020 in Docker by MD
• 95,140 points
3,407 views
0 votes
1 answer

unable to connect to docker container created via docker toolbox from browser of windows 8

Hi@Abhishek, You can't connect the docker container from ...READ MORE

Nov 16, 2020 in Docker by MD
• 95,140 points
149 views
0 votes
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,140 points
927 views
0 votes
1 answer

Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.

Hi@akhtar, The secret very much depends on swarm mode ...READ MORE

Aug 17, 2020 in Docker by MD
• 95,140 points
3,746 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,140 points
1,166 views
0 votes
1 answer

Could you please provide roles and responsibilities for a person skilled with Docker Tool?

Docker plays a crucial role in DevOps, ...READ MORE

Oct 27, 2020 in Docker by Ashish
313 views
0 votes
1 answer

Is there a way to connect my local redis server and node application into docker without losing data?

You need to use persistent storage while ...READ MORE

Oct 29, 2020 in Docker by Lohith
159 views