Trending questions in Docker

+1 vote
2 answers

Add Insecure Registry to Docker

I added into /etc/default/docker file DOCKER_OPTS="--insecure-registry <myip>:5000" I edited that ...READ MORE

Apr 26, 2019 in Docker by Hitesh
8,445 views
+1 vote
4 answers

Docker Compose wait for container X before starting Y

You can use the depends_on feature was ...READ MORE

May 6, 2019 in Docker by Kunal
7,949 views
0 votes
1 answer

Is it possible to create a custom docker image from a running docker container?

Yes you can create a custom docker ...READ MORE

Jun 7, 2019 in Docker by Sirajul
• 59,050 points
384 views
0 votes
2 answers

Installing jenkins with Docker

You should have docker properly installed on ...READ MORE

Aug 5, 2019 in Docker by Sirajul
• 59,050 points
152 views
0 votes
2 answers

How do i ssh into a running conatiner?

To bash into a running container,you could ...READ MORE

Aug 9, 2019 in Docker by Sirajul
• 59,050 points
486 views
0 votes
2 answers

Docker Network Nginx Resolver

I had the exact same error. Funny ...READ MORE

May 7, 2019 in Docker by Pallavi
6,109 views
0 votes
1 answer

build context for docker image very large

The Docker client sends the entire "build ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,310 points
11,630 views
0 votes
4 answers

what is network namespace and how we can access network namespace for the container?

Hey @Ali, I'll just combine @Eric, @Jackie ...READ MORE

Dec 20, 2018 in Docker by Kalgi
• 52,310 points
3,801 views
0 votes
1 answer

What's the best way to monitor docker container?

You can use Docker API or Docker ...READ MORE

Mar 13, 2019 in Docker by Kim
133 views
0 votes
1 answer

How do I activate Xdebug for your running?

In your docker command or your docker-compose.yml ...READ MORE

Mar 12, 2019 in Docker by Jason
85 views
+1 vote
4 answers

Docker compose, running containers in net:host

Hey@Hannah, Check the compose file format specifications ...READ MORE

May 7, 2019 in Docker by Kishore
3,487 views
0 votes
1 answer

How to install Docker on CentOS?

Hey @Dishant, follow these steps to install ...READ MORE

Feb 27, 2019 in Docker by Avinash
426 views
0 votes
0 answers

Worker cannot connect to docker swarm manager

I have setup the docker swarm manager ...READ MORE

Jan 25, 2019 in Docker by Hamza
• 200 points

recategorized Feb 4, 2019 by Vardhan 1,881 views
0 votes
1 answer

How to create a container and run images in docker?

Look for what all images you have ...READ MORE

Feb 22, 2019 in Docker by Kalgi
• 52,310 points
568 views
+1 vote
2 answers

How do I run a docker image as a container?

You can run an image depends on whether you ...READ MORE

Sep 7, 2018 in Docker by Damon Salvatore
• 5,980 points
464 views
0 votes
1 answer

How do I install docker on Ubuntu?

Hey @Vijay, Follow these steps: Add the GPG ...READ MORE

Feb 21, 2019 in Docker by Sridhar
523 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,050 points
1,442 views
0 votes
2 answers

In Docker for Windows: How do I stop containers from automatically starting on the daemon start?

Docker will autostart any container with a ...READ MORE

Aug 14, 2019 in Docker by Sirajul
• 59,050 points
377 views
0 votes
1 answer

How do I install docker on windows?

Hey @Dipti, Follow these steps to install ...READ MORE

Feb 25, 2019 in Docker by Kalgi
268 views
0 votes
2 answers

How to install docker-compose on Windows?

Docker compose is already installed if you ...READ MORE

Apr 15, 2019 in Docker by Anudeep
2,701 views
0 votes
1 answer

What are the pre-requisites to install docker?

Docker installation on Ubuntu requires the following: One ...READ MORE

Feb 21, 2019 in Docker by Sushith
219 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,020 points
9,547 views
+1 vote
4 answers

How to send application logs from docker to cloudwatch

There are 3 main steps involved it ...READ MORE

Mar 25, 2019 in Docker by RT
3,852 views
0 votes
1 answer

How to add a comment in a Dockerfile?

Here is what you have to do. Try ...READ MORE

Nov 13, 2018 in Docker by Damon Salvatore
• 5,980 points
4,238 views
0 votes
1 answer

What all platforms does docker run on?

Hey @Albert, docker runs on the following ...READ MORE

Feb 12, 2019 in Docker by Imran
117 views
0 votes
1 answer

Install the HTTP package via docker file into centos base image.

Hey @Cerci, you can something like this: #HTTP ...READ MORE

Jan 22, 2019 in Docker by Kira
403 views
0 votes
1 answer

Dockerfile to install MongoDB and create a default directory and end it with exposing it

Hey @Nisha, you could write a dockerfile ...READ MORE

Jan 22, 2019 in Docker by Pallavi
178 views
0 votes
1 answer

Why nginx is not accessible from Swarm worker node.

Hey @Ali, your steps look perfectly fine ...READ MORE

Jan 2, 2019 in Docker by Vishnu
699 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
1,380 views
0 votes
1 answer

Error after updating docker

Hey @Ali, try switching to 1.0.1 and ...READ MORE

Jan 8, 2019 in Docker by Vikas
235 views
0 votes
1 answer

How do I install Docker on Mac

Hey @Ali, follow this guide, hope it ...READ MORE

Jan 2, 2019 in Docker by Vishnu
170 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 16, 2018 in Docker by Sophie may
• 10,550 points
7,496 views
0 votes
1 answer

Error while trying to run an image - Docker

This error means that the container tries ...READ MORE

Aug 22, 2018 in Docker by Nilesh
• 7,020 points
5,794 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
• 10,550 points
7,230 views
0 votes
4 answers
0 votes
1 answer

Require a sample pom.xml for a Java spring boot webservices with plugin for maven and docker

Hey @Ali, have a look at this ...READ MORE

Dec 20, 2018 in Docker by Eric
320 views
0 votes
2 answers

Docker hub vs docker cloud

Just get it from here: "This Docker ...READ MORE

Apr 29, 2019 in Docker by Vijay
• 200 points
395 views
0 votes
1 answer

"docker build returned 1 instead of one of [0]" Error when writing a puppet manifest file.

Heyy @Hannah, You seem to be using ...READ MORE

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

Will hypervisor work in containerization?

Hypervisor is a function that creates and ...READ MORE

Dec 20, 2018 in Docker by anonymous
91 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
1,976 views
0 votes
1 answer

How to enable/ disable Hyper-V for Docker on Windows?

You can do this from command prompt ...READ MORE

Sep 10, 2018 in Docker by Tyrion anex
• 8,660 points
4,292 views
0 votes
1 answer

How to increase cpu share and memory of a container?

This should work: docker update --cpu-shares 5120 -m ...READ MORE

Dec 3, 2018 in Docker by Haseeb
536 views
0 votes
1 answer

How to change hosts in Docker for Windows in daemon.json?

you cannot specify options both as a ...READ MORE

Oct 16, 2018 in Docker by Tyrion anex
• 8,660 points
2,616 views
0 votes
1 answer

ps command doesn't work in docker container

ps is not installed in the base ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 52,310 points
6,083 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,550 points
2,546 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,550 points
1,779 views
0 votes
1 answer

In Docker for windows how does communication between linux and windows containers work?

You can create a host file in ...READ MORE

Nov 9, 2018 in Docker by Sophie may
• 10,550 points
585 views
+1 vote
1 answer

Can't recover docker swarm from pending state

First, note the node IDs On manager node: docker ...READ MORE

Sep 26, 2018 in Docker by Kalgi
• 52,310 points
2,418 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 5,728 views
0 votes
1 answer

How to access container from dev machine on Docker for windows?

What you can do is, allow access ...READ MORE

Nov 6, 2018 in Docker by Sophie may
• 10,550 points
621 views