Most viewed questions in Docker

0 votes
1 answer

How do I delete the build cache for a docker image?

You could try this inorder to clean ...READ MORE

Jul 3, 2019 in Docker by Sirajul
• 59,230 points
12,180 views
0 votes
2 answers

How do I fix the “no space left on device” error in docker?

Try cleaning up: $ docker volume rm $(docker ...READ MORE

Aug 14, 2019 in Docker by Sirajul
• 59,230 points
12,160 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, 2019 in Docker by Hitesh
12,117 views
0 votes
1 answer

How to start a docker daemon manually?

The daemon includes many configuration options, which ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,230 points
12,108 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, 2019 in Docker by Haseeb
12,095 views
0 votes
2 answers

How to transfer docker images from one machine to another without using a repository?

To save an image to any file ...READ MORE

Aug 13, 2019 in Docker by Sirajul
• 59,230 points
12,012 views
0 votes
1 answer

How to move Docker containers from one host to another?

Yes you could definitely do it the ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,230 points
11,935 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
0 votes
1 answer

Error while trying to run an image - Docker

This error means that the container tries ...READ MORE

Aug 22, 2018 in Docker by Nilesh
• 7,050 points
11,612 views
0 votes
1 answer

docker: driver failed programming external connectivity on endpoint webserver

Hi@akhtar, I also faced the same issue, when ...READ MORE

Jul 29, 2020 in Docker by MD
• 95,440 points
11,544 views
0 votes
1 answer

How do I fix this error? docker run --- name “xyz” is already in use by container

This is due to a confusion. There ...READ MORE

Jul 17, 2018 in Docker by Sophie may
• 10,610 points
11,416 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,440 points
11,046 views
+1 vote
2 answers

How to copy docker images from one host to another without a repository?

To save an image to any file ...READ MORE

Aug 13, 2019 in Docker by Sirajul
• 59,230 points
10,724 views
0 votes
1 answer

ps command doesn't work in docker container

ps is not installed in the base ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 52,360 points
10,672 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 7, 2019 in Docker by Kunal
10,547 views
0 votes
1 answer

How to enable forwarding from docker containers to the outside world?

By default, traffic from containers connected to ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
10,497 views
0 votes
2 answers

How do I force Docker for a clean build of an image ?

You could try this inorder to clean ...READ MORE

Aug 6, 2019 in Docker by Sirajul
• 59,230 points
10,260 views
0 votes
1 answer

How can I connect a docker container to two docker networks that I have created?

Hi@akhtar, It's correct that the network argument of ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,440 points
10,051 views
0 votes
2 answers

Docker Network Nginx Resolver

I had the exact same error. Funny ...READ MORE

May 7, 2019 in Docker by Pallavi
9,736 views
0 votes
1 answer

Failed to get D-Bus connection: Operation not permitted.

Hi@akhtar, Service command will not work inside the ...READ MORE

Jun 22, 2020 in Docker by MD
• 95,440 points
9,730 views
0 votes
1 answer

How do I install docker-compose on linux?

Docker Compose is a tool for defining ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,230 points
9,359 views
0 votes
1 answer

How to add a comment in a Dockerfile?

Here is what you have to do. Try ...READ MORE

Nov 13, 2018 in Docker by Damon Salvatore
• 5,980 points
8,892 views
0 votes
1 answer

What is the process for stopping and restarting a docker container?

If you want to stop a docker ...READ MORE

Jul 3, 2019 in Docker by Sirajul
• 59,230 points
8,844 views
0 votes
1 answer

How to obtain the Docker container's IP address from the host?

This can be done by executing the ...READ MORE

Jul 17, 2018 in Docker by Sophie may
• 10,610 points
8,611 views
0 votes
1 answer

How to make Grafana container data persistent?

Hi@akhtar, You need to create a volume in ...READ MORE

Sep 7, 2020 in Docker by MD
• 95,440 points
8,541 views
0 votes
1 answer

What are the different volume mount types available in docker?

There are three mount types available in ...READ MORE

Jul 4, 2019 in Docker by Sirajul
• 59,230 points
8,467 views
+2 votes
1 answer
0 votes
1 answer

Build a container in Jenkins via "docker pipeline plugin"

In order to create a Docker image, ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,230 points
8,132 views
0 votes
0 answers

Running composer install within a Dockerfile

I'm attempting to Dockerize a Laravel application. ...READ MORE

Apr 12, 2022 in Docker by Abhijeet
• 180 points
7,983 views
0 votes
1 answer

how do I create an image from a tar archive in docker?

You can use docker load command inorder to get ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,230 points
7,982 views
0 votes
1 answer

what is routing mesh under docker swarm mode?

Routing Mesh is a feature which make ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
7,881 views
0 votes
1 answer

Error: docker-machine command not found

Hey @Ruby, You can indeed spin-up multiple ...READ MORE

Jul 4, 2019 in Docker by Sirajul
• 59,230 points
7,789 views
0 votes
3 answers

How to enable docker remote API in Docker for Windows?

Try these steps- Navigate to /lib/systemd/system in your ...READ MORE

Aug 25, 2020 in Docker by Pistle
• 300 points
7,654 views
0 votes
1 answer

Do docker containers have their own kernel and CPU?

Hi@akhtar, No. Docker image/container only has the application ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,440 points
7,516 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
0 votes
1 answer

Dockerfile entrypoint script arguments in docker run

RUN instructions happen at build time. ENTRYPOINT and ...READ MORE

Jul 11, 2018 in Docker by Kalgi
• 2,680 points

edited Jul 11, 2018 by Kalgi 7,332 views
0 votes
1 answer

Will I lose my data, when a docker container exists?

No, you won’t lose any data when ...READ MORE

Jul 30, 2019 in Docker by Kavya
7,276 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,440 points
7,263 views
0 votes
1 answer

docker unauthorized: authentication required - upon push with successful login

I also had the same issue.This is ...READ MORE

Jul 31, 2018 in Docker by Kalgi
• 52,360 points
6,978 views
0 votes
1 answer

Docker: Error response from daemon: timeout was reached before the node joined

The above failure happens when the ‘manager’ ...READ MORE

Aug 28, 2019 in Docker by Sirajul
• 59,230 points
6,966 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,937 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
0 votes
1 answer

error creating aufs mount to /var/lib/docker/aufs/mnt/6c1b42ce1a98b1c0f2da7f1-init: invalid argument

Hi@akhtar, To solve this error, you have to ...READ MORE

Apr 16, 2020 in Docker by MD
• 95,440 points
6,659 views
0 votes
1 answer

How does save and export command work in docker and how are they different from one another?

Export : Export is used to persist a ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,230 points

edited Jul 2, 2019 by Sirajul 6,648 views
0 votes
1 answer

docker missing var/lib/docker folder

Try restarting docker systemctl restart docker or sudo service docker ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,360 points
6,564 views
0 votes
1 answer

error: permission denied in docker ?

Hi@akhtar, This is because of docker permission for ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,440 points
6,505 views
0 votes
2 answers

Docker for windows: Eval command not found

I use the cmder console emulator. For the ...READ MORE

Aug 29, 2020 in Docker by Pistle
• 1,000 points

edited Aug 30, 2020 by Gitika 6,469 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