Trending questions in Docker

0 votes
1 answer

Docker swarm scale

try docker node update --availability=drain <nodename> this will stop ...READ MORE

Aug 24, 2018 in Docker by Kalgi
• 52,350 points
792 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,350 points
1,952 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
• 52,350 points
1,942 views
0 votes
1 answer

Run the same container on all nodes

You can use the global service in ...READ MORE

Aug 24, 2018 in Docker by Nilesh
• 7,060 points
726 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
1,937 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
1,630 views
0 votes
1 answer

Set up multi-host networking

In machine1 initialize the docker swarm docker swarm ...READ MORE

Aug 24, 2018 in Docker by Nilesh
• 7,060 points
579 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
• 52,350 points
1,629 views
0 votes
1 answer

docker swarm http connectivity

Yeah you can connect to a remote ...READ MORE

Aug 22, 2018 in Docker by Nilesh
• 7,060 points
594 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
1,491 views
0 votes
1 answer

IBM Cloud:Cannot filter work items in DevOps Track and Plan in

When you search with the # the ...READ MORE

Aug 21, 2018 in Docker by DareDev
• 6,890 points
618 views
0 votes
1 answer

Docker Swarm Linking

Linking in docker is complicated and difficult. ...READ MORE

Aug 22, 2018 in Docker by Nilesh
• 7,060 points
563 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
1,692 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,620 points
1,160 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,620 points
1,925 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
1,714 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
1,269 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
1,173 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
804 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,620 points
1,185 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
1,052 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
739 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
731 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
1,085 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,620 points
791 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
989 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
973 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
938 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
1,538 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,405 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
884 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
847 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,060 points
2,577 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
930 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
3,012 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
824 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
828 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,620 points
599 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,300 points
765 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,460 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
770 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,962 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
1,042 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
837 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
1,171 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
797 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
790 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,620 points
800 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
640 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
610 views