Trending questions in Docker

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
• 9,870 points
78 views
0 votes
2 answers

Why is docker image eating up my disk space that is not used by docker

Move the /var/llib/docker directory. Assuming the /root directory has enough ...READ MORE

Aug 6, 2018 in Docker by Nilesh
• 6,880 points
205 views
0 votes
1 answer

docker login unknown shorthand flag: 'e'

add this to your call --no-include-email here is the ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 42,410 points
546 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
• 42,410 points
308 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
• 9,870 points
96 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 16, 2018 in Docker by Sophie may
• 9,870 points
922 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
• 42,410 points
271 views
0 votes
2 answers

How can I inspect the file system of a failed `docker build

Failed command is a build that has ...READ MORE

Aug 6, 2018 in Docker by Nilesh
• 6,880 points
101 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
• 42,410 points
457 views
0 votes
1 answer

Docker dm_task_run failed error

This is disk space issue. Use the following ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 42,410 points
173 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
• 42,410 points
158 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,510 points
46 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
• 42,410 points
162 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
• 42,410 points
78 views
0 votes
1 answer

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

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

Jul 31, 2018 in Docker by Sophie may
• 9,870 points
146 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,510 points
58 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,280 points
706 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
• 42,410 points
70 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
• 6,880 points
649 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
• 42,410 points
34 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
• 42,410 points
69 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,620 points
587 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,620 points
622 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
• 42,410 points
103 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
• 9,870 points
32 views
0 votes
1 answer

Network timed out while trying to connect to https://index.docker.io

This happened because docker virtual machine gets ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 42,410 points
214 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
• 42,410 points
248 views
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
• 42,410 points
71 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
• 42,410 points
240 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
• 42,410 points
59 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
• 42,410 points
53 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
• 42,410 points
26 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
• 42,410 points
153 views
0 votes
1 answer

Cannot download Docker images behind a proxy

Follow these steps Step 1- create a systemd ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 42,410 points
108 views
+1 vote
1 answer

How to push a docker image to a private repository

You need to tag your image correctly ...READ MORE

Jul 26, 2018 in Docker by Kalgi
• 42,410 points
104 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
• 42,410 points
80 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
• 42,410 points
53 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
• 6,880 points
435 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
34 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
• 42,410 points
64 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
• 42,410 points
25 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
• 42,410 points
55 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
• 42,410 points
39 views
0 votes
1 answer

Copying files from host to Docker container

For copying the files from the host ...READ MORE

Jul 18, 2018 in Docker by sunshine
• 1,240 points
259 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
• 9,870 points
131 views
0 votes
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
• 42,410 points
83 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
• 42,410 points
39 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,620 points
446 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,620 points
70 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,620 points
69 views