Most viewed questions in Docker

0 votes
1 answer

How to save a Docker image in tar file?

Hi@akhtar, Sometimes we may require to copy an ...READ MORE

Sep 28, 2020 in Docker by MD
• 95,440 points
4,078 views
0 votes
1 answer

Why do I get Connection reset by peer when making a request to a service running in a container?

Typically, this message is returned if the ...READ MORE

Jul 10, 2019 in Docker by Sirajul
• 59,230 points
4,077 views
+1 vote
1 answer

What is a docker file? How do I create a docker image with dockerfile?

 A Dockerfile is a script/text configuration file that contains ...READ MORE

Jun 7, 2019 in Docker by Sirajul
• 59,230 points
4,017 views
0 votes
1 answer

How to install zabbix in docker?

Hi@akhtar, In your Zabbix server, create a folder ...READ MORE

Aug 24, 2020 in Docker by MD
• 95,440 points
4,013 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,965 views
0 votes
1 answer

docker swarm throwing an error “swarm already part of swarm”

You run the docker swarm init to create ...READ MORE

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

Docker ports are working on the localhost but not with public ip

Probably, the reason is that you've included ...READ MORE

Jun 12, 2018 in Docker by Damon Salvatore
• 5,980 points

edited Oct 15, 2018 by Kalgi 3,926 views
0 votes
1 answer

What is the role of .dockerignore file?

To understand the role of .dockerignore file, ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points
3,882 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,440 points
3,829 views
0 votes
1 answer

Where is the Docker daemon log?

It depends on your OS. Here are ...READ MORE

Jul 18, 2018 in Docker by Kalgi
• 2,680 points
3,814 views
0 votes
1 answer

Failed to start podman.service: Unit podman.service not found.

Hi@akhtar, Before starting Podman service, you have to ...READ MORE

Apr 20, 2020 in Docker by MD
• 95,440 points
3,796 views
0 votes
1 answer

Error: 'logs/gunicorn-error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')

Hi@akhtar, Before trying with a docker container, I ...READ MORE

Aug 24, 2020 in Docker by MD
• 95,440 points
3,782 views
0 votes
1 answer

How to find a Docker container IP address from the command line?

Hi@akhtar, You can use the docker inspect command ...READ MORE

Sep 4, 2020 in Docker by MD
• 95,440 points
3,719 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,680 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,588 views
0 votes
1 answer

Location of docker images downloaded by Docker (1.9.1) on Mac OS X

If you’re using docker for MAC, yhen ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,360 points
3,588 views
0 votes
1 answer

Docker for Windows cleanup

Download docker-ci-zap.exe from https://github.com/jhowardmsft/docker-ci-zap and then run it in powershell with ...READ MORE

Aug 15, 2018 in Docker by Sophie may
• 10,610 points
3,558 views
0 votes
1 answer

How do I attach and detach from Docker's process?

Here is what you should use. Since ...READ MORE

Sep 11, 2018 in Docker by Damon Salvatore
• 5,980 points
3,552 views
0 votes
0 answers

Unable to install Docker Desktop on Windows 10 Pro 21H1

I'm attempting to install Docker Desktop on ...READ MORE

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

Error while executing docker run command

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

Jul 26, 2018 in Docker by Kalgi
• 52,360 points
3,453 views
0 votes
1 answer

Can I exclude a IP address from a MacVLAN network ?

Yes, this is certainly possible. If you need ...READ MORE

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

No output in output file even though pexpect scrift runs succesfully

You've got to wait til the ls ...READ MORE

Aug 10, 2018 in Docker by DareDev
• 6,890 points
3,412 views
0 votes
1 answer

Running docker on Android

According to the documentation, the Android kernel is ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,360 points
3,391 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,357 views
0 votes
2 answers

How to execute docker exec commande inside a docker container ?

You need to get inside the container ...READ MORE

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

How to run a docker command from inside the container?

You must have come across the /var/run/docker.sock file, ...READ MORE

Jun 28, 2018 in Docker by Sophie may
• 10,610 points
3,269 views
0 votes
1 answer

How to update docker-compose on Docker for Windows?

Please check "version" value in the docker-compose.yml ...READ MORE

Sep 21, 2018 in Docker by Tyrion anex
• 8,700 points
3,246 views
0 votes
1 answer

-su: cd: /root/: Permission denied

Hi@akhtar, You are trying to run your command ...READ MORE

Jun 6, 2020 in Docker by MD
• 95,440 points
3,232 views
–1 vote
1 answer

error saying "denied: requested access to the resource is denied" when trying to push an image to dockerhub

tag the image first and then push ...READ MORE

Sep 20, 2018 in Docker by Kalgi
• 52,360 points
3,215 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
3,193 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,440 points
3,184 views
0 votes
0 answers

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

I've tried every option I could find ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
3,168 views
0 votes
1 answer

Ubuntu and updating Docker

Try this sudo sh -c "wget -qO- https://get.docker.io/gpg ...READ MORE

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

How to install telnet in Docker for Windows 10?

If you are trying to telnet in ...READ MORE

Aug 28, 2018 in Docker by Tyrion anex
• 8,700 points
3,145 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,137 views
0 votes
1 answer

Which one to choose? Minikube vs Kubernetes in Docker for Windows

Docker Toolbox and minikube always use a ...READ MORE

Oct 9, 2018 in Docker by Sophie may
• 10,610 points
3,116 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
• 10,610 points
3,097 views
0 votes
1 answer

Init could not choose ip address error while doing docker swarm init

First look for the public IP of ...READ MORE

Aug 23, 2018 in Docker by Nilesh
• 7,050 points
3,087 views
0 votes
1 answer

using docker-compose with docker-swarm : can swarm build an image from a dockerfile?

Yes, you could integrate the two of ...READ MORE

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

What is the difference between “expose” and “publish” in Docker?

Basically, you have three options: Neither specify EXPOSE nor -p -> ...READ MORE

Jul 18, 2018 in Docker by Nilesh
• 7,050 points
3,069 views
0 votes
1 answer

How to connect a docker container to user-defined bridge network?

When you create a new container, you ...READ MORE

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

How to create “PersistentVolumeClaim” in Kubernetes on “Docker for windows”?

Try this: kubectl get storageclass gives output as ...READ MORE

Oct 4, 2018 in Docker by Tyrion anex
• 8,700 points
2,983 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,871 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
• 52,360 points
2,795 views
0 votes
1 answer

How do I connect to my docker VM from windows shell?

You can run a container with full ...READ MORE

Sep 5, 2018 in Docker by Tyrion anex
• 8,700 points
2,752 views
0 votes
1 answer

Error when trying to start host on Oracle Virtual Box

You have to enable the virtualization technology ...READ MORE

Dec 16, 2018 in Docker by Kiyara
2,740 views
0 votes
1 answer

which is better to use between Dockerfile and docker compose?

Here is a concept that will help ...READ MORE

Nov 6, 2018 in Docker by Damon Salvatore
• 5,980 points
2,717 views
0 votes
1 answer

Container volume path and host path - explain

Your container is running on a system. ...READ MORE

Jul 24, 2019 in Docker by Bob
2,688 views
0 votes
0 answers

Not able to start docker Desktop in Windows

In Microsoft Windows 10 professional, I am ...READ MORE

Apr 20, 2022 in Docker by pranav
• 2,590 points
2,669 views