Trending questions in Docker

0 votes
1 answer

Docker: Add a restart policy to a container that was already created

In recent versions of docker (as of ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,350 points
901 views
0 votes
1 answer

Using GPU from a docker container?

Preparation Install nvidia driver and cuda on your ...READ MORE

Jul 31, 2018 in Docker by Kalgi
• 52,350 points
835 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
1,592 views
0 votes
1 answer

Docker daemon config file on boot2docker / docker-machine / Docker Toolbox

Inside boot2docker (boot2docker ssh) / docker-machine (docker-machine ...READ MORE

Jul 31, 2018 in Docker by Kalgi
• 52,350 points
766 views
0 votes
1 answer

How to ssh into docker-machine VirtualBox instance?

You can log into docker-machine hosts by ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,350 points
706 views
0 votes
1 answer

How do I get into a Docker container?

docker attach will let you connect to your ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,350 points
318 views
0 votes
1 answer

How to base a docker volume with docker container?

Run the following command: docker run -d --volumes-from ...READ MORE

Aug 5, 2018 in Docker by Sophie may
• 10,590 points
515 views
0 votes
1 answer

how can I find docker image with specific tag in docker registry in docker command line?

As far as I know, the CLI ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,350 points
772 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 2,802 views
0 votes
1 answer

Docker-Compose with Docker 1.12 “Swarm Mode”

you can run docker service commands on ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,350 points
235 views
0 votes
1 answer

Can you use docker-compose files to start services in Docker 1.12 swarm-mode?

Yess, you can. you must download/install the ...READ MORE

Aug 10, 2018 in Docker by Kalgi
• 52,350 points
213 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,350 points
857 views
0 votes
1 answer

On running mvn-version, I get the exception UnsupportedClassVersionError received error. How do I solve this?

This happens because your jdk version is ...READ MORE

Aug 7, 2018 in Docker by Sophie may
• 10,590 points
321 views
0 votes
1 answer

Error: docker-engine-selinux conflicts with docker-selinux-*

The first command checks for docker in ...READ MORE

Aug 1, 2018 in Docker by Sophie may
• 10,590 points
606 views
0 votes
1 answer

Efficient way to run a Docker Compose stack in production?

Here is a concept which you can ...READ MORE

Aug 2, 2018 in Docker by Damon Salvatore
• 5,980 points
521 views
0 votes
1 answer

Docker Toolbox - hang on `docker push`

You can just run: docker-machine stop <name-of-your-docker-machine> which is ...READ MORE

Aug 2, 2018 in Docker by Kalgi
• 52,350 points
446 views
+1 vote
1 answer

How to deploy a java app to Docker?

If you are having JAR file, the quickest ...READ MORE

Aug 2, 2018 in Docker by Damon Salvatore
• 5,980 points
357 views
0 votes
1 answer

Packer Docker Builder with remote docker daemon

Packers Docker builder doesn't work with remote ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,350 points
438 views
+1 vote
1 answer

Error while running docker run command

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

Jul 26, 2018 in Docker by Kalgi
• 52,350 points
591 views
+1 vote
1 answer

How do I pass environment variables to Docker containers?

You can pass environment variables to your ...READ MORE

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

Docker, how to get container information from within the container?

I've found out that the container id ...READ MORE

Jul 31, 2018 in Docker by Kalgi
• 52,350 points
381 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,590 points
901 views
0 votes
1 answer

How to remove docker installed using wget

The uninstallation step mentions: sudo apt-get purge -y docker-engine sudo apt-get ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,350 points
331 views
0 votes
1 answer

Brew install docker does not include docker engine?

Please try running brew install docker This will install ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,350 points
312 views
0 votes
1 answer

Docker in Docker permissions error

Personally, i've just had to do this ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,350 points
260 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,350 points
833 views
0 votes
1 answer

Why is my docker installation failing?

First off check if virtualbox is running; ...READ MORE

Jul 31, 2018 in Docker by Sophie may
• 10,590 points
150 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 27, 2018 in Docker by Kalgi
• 52,350 points
280 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
667 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,350 points
264 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,350 points
257 views
0 votes
1 answer

How do I know which datastore indexes are in error?

There was no public API for managing ...READ MORE

Jul 27, 2018 in Docker by ajs3033
• 7,280 points
176 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,350 points
222 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,230 points
1,819 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,230 points
1,356 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,590 points
358 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,350 points
228 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
301 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
279 views
+1 vote
1 answer

How to remove old Docker containers

There is a new feature in Docker 1.13.x called Docker ...READ MORE

Jul 18, 2018 in Docker by Kalgi
• 2,680 points
217 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
465 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
156 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
141 views
0 votes
2 answers

Can't access apache karaf docker container

To access karaf shell directly you can ...READ MORE

Aug 6, 2018 in Docker by Nilesh
• 7,040 points
1,098 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,230 points
265 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
1,474 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,320 points
706 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
402 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,320 points
342 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,280 points
596 views