Most voted questions in Docker

0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 52,360 points
502 views
0 votes
1 answer

How can I expose more than 1 port with Docker?

To expose just one port, this is ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 52,360 points
1,730 views
0 votes
1 answer

I lose my data when I get out of the container

No its not installation issue. You need to commit the ...READ MORE

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

Interactive shell using Docker Compose

You need to include the following lines ...READ MORE

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

How to increase docker-machine memory Mac

when you create docker machine, you can ...READ MORE

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

List only stopped Docker containers

docker ps --filter "status=exited" or docker ps -f "status=exited" or you ...READ MORE

Jul 26, 2018 in Docker by Kalgi
• 52,360 points
612 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
61,258 views
0 votes
1 answer

Docker - Cannot remove dead container

Try to unmount these blocked filesystems to ...READ MORE

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

Error saying "context cancelled"

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

Jul 26, 2018 in Docker by Kalgi
• 52,360 points
4,195 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,470 views
0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

Jul 25, 2018 in Docker by Kalgi
• 52,360 points
642 views
0 votes
1 answer

How can I expose more than 1 port with Docker?

To expose just one port, this is ...READ MORE

Jul 25, 2018 in Docker by Kalgi
• 52,360 points
558 views
0 votes
2 answers

How to edit file after I shell to a docker container?

You can even install it using a ...READ MORE

Apr 23, 2019 in Docker by Ashish
17,496 views
0 votes
1 answer

How to list containers in Docker

To show only running containers use the given command: docker ...READ MORE

Jul 20, 2018 in Docker by Kalgi
• 52,360 points
491 views
0 votes
1 answer

How to continue running a docker container which is already exited?

Restart an existing container after you exited ...READ MORE

Jul 19, 2018 in Docker by Sophie may
• 10,610 points
2,284 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,326 views
0 votes
1 answer

Slave image does not support running docker

You need to install docker client and ...READ MORE

Jul 19, 2018 in Docker by Kalgi
• 2,680 points
2,277 views
0 votes
1 answer

Unable to switch filesystem to overlay in Docker in Ubuntu.

From the official docs: https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/#configure-docker-with-the-overlayoverlay2-storage-driver To configure Docker ...READ MORE

Jul 18, 2018 in Docker by ajs3033
• 7,300 points
2,513 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,076 views
0 votes
1 answer

Error saying "build" requires 1 argument. See 'docker build --help'

Try adding a period at the end ...READ MORE

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

Using SSH keys inside docker container

Turns out when using Ubuntu, the ssh_config ...READ MORE

Jul 18, 2018 in Docker by Nilesh
• 7,050 points
12,450 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,827 views
0 votes
1 answer

Docker can't connect to docker daemon

The Post-installation steps for Linux documentation reveals the following ...READ MORE

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

How to deal with persistent storage (e.g. databases) in docker

For Docker 1.9.0 and above, Use volume API docker ...READ MORE

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

Should I use Vagrant or Docker for creating an isolated environment?

If your purpose is the isolation, I ...READ MORE

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

How can you detach from Docker's process?

This is simple, in order to detach ...READ MORE

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

How to remove old Docker images?

Run the following command: docker $ (docker images ...READ MORE

Jul 17, 2018 in Docker by Sophie may
• 10,610 points
603 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,434 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,621 views
0 votes
1 answer

Docker unable to connect AWS EC2 cloud

Your command is not pointing to your ...READ MORE

Jul 16, 2018 in Docker by Kalgi
• 52,360 points
1,327 views
0 votes
1 answer

How to store data in external drive with Docker Postgres:9.3 image?

Apparently, the problem would be in your ...READ MORE

Jul 12, 2018 in Docker by Kalgi
• 2,680 points
2,357 views
0 votes
1 answer

Is it possible to create a docker swarm cluster using nodes on different cloud providers?

if your nodes could access each other, ...READ MORE

Jul 12, 2018 in Docker by Kalgi
• 2,680 points
958 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,021 views
0 votes
1 answer

DevOps: automatically restarting a failed container

Check first if you can add restart policies ...READ MORE

Jul 11, 2018 in Docker by Kalgi
• 2,680 points
400 views
0 votes
1 answer

Docker : multiples linked containers for each customers

Using Docker (specifically Docker Compose) linking containers ...READ MORE

Jul 11, 2018 in Docker by Kalgi
• 2,680 points
390 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,337 views
0 votes
1 answer

Error “unable to resolve host docker”

This error occurs because its not a ...READ MORE

Jul 10, 2018 in Docker by Kalgi
• 2,680 points
4,632 views
0 votes
1 answer

Isolate PHP applications with Docker

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

Jul 6, 2018 in Docker by Atul
• 10,240 points
549 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,274 views
0 votes
1 answer

Different file owner inside Docker container and in host machine

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

Jun 27, 2018 in Docker by Atul
• 10,240 points
1,737 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,610 points
44,701 views
0 votes
1 answer

Different file owner inside Docker container and in host machine Ask

Filesystems, at least in Unix- and Linux-like ...READ MORE

Jun 25, 2018 in Docker by Damon Salvatore
• 5,980 points
738 views
0 votes
1 answer

Presenting docket dtates inside html page by javascript

Use the Docker Engine Api:Docker Engine API ...READ MORE

Jun 20, 2018 in Docker by DareDev
• 6,890 points
508 views
0 votes
1 answer

How do I scale in Docker Swarm Mode W/Terraform Digital Ocean Load Balancing

The solution you could build for Digital ...READ MORE

Jun 19, 2018 in Docker by shubham
• 7,340 points
1,272 views
0 votes
1 answer

Is Dockerfile versioning a best practice?

According to me , it will be ...READ MORE

Jun 17, 2018 in Docker by shubham
• 7,340 points
712 views
0 votes
1 answer

Docker config to edit Node code when run

What you can do is pass environment ...READ MORE

Jun 17, 2018 in Docker by shubham
• 7,340 points
520 views
0 votes
1 answer

Docker containers as Jenkins Slave build agents

When you encapsulate the stage inside a ...READ MORE

Jun 16, 2018 in Docker by Atul
• 10,240 points
2,221 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,932 views
0 votes
1 answer

Preferred method for Docker File Versioning

Use labels to add versioning information to ...READ MORE

Jun 11, 2018 in Docker by ajs3033
• 7,300 points
1,243 views
0 votes
1 answer

How to send docker using terraform to aws cloudwatch?

Check if you set all the permissions ...READ MORE

Jun 7, 2018 in Docker by DareDev
• 6,890 points
2,364 views