Trending questions in Docker

0 votes
1 answer

How does mixing Swarm and Kubernetes work in the same cluster?

Yes you could use them together. When you ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points

edited Jul 6, 2019 by Sirajul 1,029 views
0 votes
1 answer

Mount a volume and run a docker container in read-only mode

You can achieve this using the following $ ...READ MORE

Jul 3, 2019 in Docker by Sirajul
• 59,170 points
939 views
0 votes
1 answer

Can I bypass the routing mesh?

Yes. You can bypass the routing mesh, ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,170 points
712 views
0 votes
1 answer

How to configure my docker container to use a different logging driver?

When you start a docker container, you ...READ MORE

Jul 4, 2019 in Docker by Sirajul
• 59,170 points
721 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 7, 2019 in Docker by Kunal
8,897 views
0 votes
1 answer

Using a custom registry instead of default dockerhub registry

By default the "Docker pipeline" integrates assumes the ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,170 points
418 views
0 votes
1 answer

Switching from swarm to kubernetes for a node while using the "mixed" orchestrator type.

To change the orchestrator type for a ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points
567 views
0 votes
1 answer

How do I create a service using an image from a private registry?

Hey @Ruby, If your image is available ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,170 points
430 views
0 votes
1 answer

Provision a docker-machine on Rackspace

When Docker Machine provisions containers on local ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,170 points
379 views
0 votes
1 answer

How can I achieve high availability of my application using docker swarm?

High Availability is a feature where you ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points
509 views
0 votes
1 answer

How to change a node's availability?

Hey @jenny,  You can do the following in ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,170 points
260 views
0 votes
1 answer

Why do my services take 10 seconds to recreate or stop?

Docker compose stop attempts to stop a ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,170 points
214 views
0 votes
1 answer

Docker Swarm

Docker Swarm is a technique to create and ...READ MORE

Jul 3, 2019 in Docker by Sirajul
• 59,170 points
463 views
0 votes
1 answer

Adding nodes to a swarm

To Add Worker nodes : Open a terminal and ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,170 points
249 views
0 votes
1 answer

What are "docker secrets" and why is it necessary?

In terms of Docker Swarm services, a secret is ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points
361 views
0 votes
1 answer

Could you demonstrate a simple docker puppet integration?

Here's a simple demo of puppet-docker example: Assuming you ...READ MORE

Jul 10, 2019 in Docker by Sirajul
• 59,170 points
181 views
0 votes
1 answer

What is a swarm and how to create a swarm?

A swarm consists of multiple Docker hosts ...READ MORE

Jul 8, 2019 in Docker by Nizam
232 views
0 votes
1 answer

Is it possible to use docker compose to build a swarm/kubernetes cluster?

Yes, one can deploy a stack on ...READ MORE

Jul 3, 2019 in Docker by Sirajul
• 59,170 points
445 views
0 votes
1 answer

Can I run docker in docker?

If you want to use Docker in Docker, that ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points
308 views
0 votes
1 answer

How to share data among docker hosts?

Ways to achieve this when developing your ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points
297 views
0 votes
1 answer

Is it possible to spin-up a docker host on a cloud platform?

Yes, It is definitely possible to spin ...READ MORE

Jul 4, 2019 in Docker by Sirajul
• 59,170 points
255 views
0 votes
1 answer

How to connect shell to my new docker host?

Use the following command to connect your ...READ MORE

Jul 4, 2019 in Docker by Sirajul
• 59,170 points
242 views
0 votes
1 answer

Which orchestrator would you recommend ? swarm or kubernetes?

Well, which orchestrator is best will depend ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,170 points
187 views
0 votes
0 answers

what is the use of docker history command in Docker?

I am trying to find the initial ...READ MORE

Jun 20, 2019 in Docker by Shubham
• 1,000 points
890 views
0 votes
1 answer

Can I give an advance instructions to run later, during the next build stage in docker?

You can definitely give a trigger instruction ...READ MORE

Jul 2, 2019 in Docker by Sirajul
• 59,170 points
249 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,170 points
497 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,170 points
231 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
7,525 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,170 points
607 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,350 points
13,014 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
7,055 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,040 points
11,374 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,350 points
4,320 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,916 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 2,437 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
3,441 views
0 votes
1 answer

What's the best way to monitor docker container?

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

Mar 14, 2019 in Docker by Kim
196 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
143 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 23, 2019 in Docker by Kalgi
• 52,350 points
889 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,170 points
1,811 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
531 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
646 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,170 points
594 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
4,518 views
0 votes
1 answer

How do I install docker on Ubuntu?

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

Feb 22, 2019 in Docker by Sridhar
675 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
371 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
321 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,040 points
7,769 views
0 votes
1 answer

What all platforms does docker run on?

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

Feb 13, 2019 in Docker by Imran
222 views