Most viewed questions in Docker

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,230 points
853 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,230 points
843 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
842 views
0 votes
2 answers

Invalid key error message while using Docker for Windows

I think the problem is with the ...READ MORE

Sep 17, 2020 in Docker by Kim
838 views
0 votes
1 answer

Docker holding a lot of disk space

Check your docker redundant containers and images ...READ MORE

Aug 22, 2018 in Docker by ajs3033
• 7,300 points
831 views
0 votes
1 answer

How to remove all docker containers in a single command?

Hi@akhtar, I don't think there are any pre ...READ MORE

Apr 27, 2020 in Docker by MD
• 95,440 points
828 views
0 votes
1 answer

How to export Docker container metrics?

Hi@akhtar, By default, docker will not allow you ...READ MORE

May 28, 2020 in Docker by MD
• 95,440 points
825 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
815 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,230 points
805 views
0 votes
1 answer

Terraform unable to get docker to join swarm

4th line of your code is incomplete You ...READ MORE

Aug 24, 2018 in Docker by Nilesh
• 7,050 points
805 views
0 votes
1 answer

Docker Swarm Overlay Network Communication

Try to recreate network like this : docker ...READ MORE

Aug 22, 2018 in Docker by Nilesh
• 7,050 points
805 views
0 votes
1 answer

What are the basic steps involved while using docker for application development?

All the steps below are based on ...READ MORE

Aug 26, 2019 in Docker by Sirajul
• 59,230 points
803 views
+1 vote
0 answers

What does COMMAND in 'docker ps' mean?

docker ps or docker container ls displays ...READ MORE

Apr 20, 2022 in Docker by pranav
• 2,590 points
798 views
0 votes
1 answer

How to configure wordpress tool using docker-compose?

Hi@akhtar, You can download wordpress image from docker hub. WordPress is ...READ MORE

Apr 24, 2020 in Docker by MD
• 95,440 points
798 views
+1 vote
0 answers

How to keep Docker container running after starting services?

Although I've read many instructions that appear ...READ MORE

Dec 13, 2022 in Docker by Edureka
• 13,620 points
796 views
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 21, 2018 in Docker by Eric
795 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,360 points
783 views
0 votes
1 answer

How to create our own docker image?

Hi@akhtar, There are two ways to create docker ...READ MORE

Mar 11, 2020 in Docker by MD
• 95,440 points
781 views
0 votes
1 answer

Access IP address of Couchbase container on Docker Swarm cluster

The property .NetworkSettings.Ports is a map, not a struct. ...READ MORE

Aug 24, 2018 in Docker by Nilesh
• 7,050 points
778 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,230 points
771 views
0 votes
1 answer

Docker for Windows error: Server not starting in IBM API connect toolkit

If you’re running on the most recent ...READ MORE

Nov 9, 2018 in Docker by Sophie may
• 10,610 points
770 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
770 views
0 votes
1 answer

Error: Deploying a docker-compose app on Kubernetes using Docker for Windows

Due to the lack of support for ...READ MORE

Oct 11, 2018 in Docker by Tyrion anex
• 8,700 points
769 views
0 votes
1 answer

How to check Docker container application logs?

Try this: docker container logs <container-id> READ MORE

Oct 12, 2020 in Docker by Vishwanath
757 views
0 votes
1 answer

How to configure Grafana on Docker?

Hi@akhtar, You need to pull the Grafana image ...READ MORE

Sep 7, 2020 in Docker by MD
• 95,440 points
755 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,230 points
751 views
0 votes
1 answer

How to expose my docker container?

Hi@akhtar, To expose you container from outside you ...READ MORE

Apr 6, 2020 in Docker by MD
• 95,440 points
750 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,230 points
745 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
745 views
0 votes
1 answer

Dockerfile - What does it include?

Basic instructions in a dockerfile FROM instruction : Usage ...READ MORE

Aug 26, 2019 in Docker by Sirajul
• 59,230 points
743 views
0 votes
1 answer

Docker Machine error: Hyper-V PowerShell Module is not available

 The reason is the version of the ...READ MORE

Sep 7, 2018 in Docker by Tyrion anex
• 8,700 points
740 views
0 votes
1 answer

Docker for Windows error: Same docker image works in Docker for Windows but not in docker on linux

I got the same error, the problem ...READ MORE

Sep 26, 2018 in Docker by Tyrion anex
• 8,700 points
739 views
+1 vote
2 answers

How do I remove an image in Docker?

Here is what you can try. Use docker ...READ MORE

Sep 4, 2018 in Docker by Damon Salvatore
• 5,980 points
739 views
0 votes
0 answers

docker-compose for Detached mode

I have the following command to run ...READ MORE

Apr 20, 2022 in Docker by pranav
• 2,590 points
736 views
0 votes
1 answer

Is there a way to connect my local redis server and node application into docker without losing data?

You need to use persistent storage while ...READ MORE

Oct 29, 2020 in Docker by Lohith
732 views
0 votes
1 answer

Restore a docker swarm

If there is something wrong only with ...READ MORE

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

Error while installing Docker for Windows on the Divio App

As you have Windows Home edition, one ...READ MORE

Oct 29, 2018 in Docker by Sophie may
• 10,610 points
716 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,340 points
716 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
714 views
0 votes
1 answer

command for gettung container ids of all running containers

Id returned by docker service ps my-ngx is the <task_id> To ...READ MORE

Aug 24, 2018 in Docker by Nilesh
• 7,050 points
699 views
0 votes
1 answer

What is the swarm mode public key infrastructure?

Built-in Public Key Infrastructure System helps to ...READ MORE

Aug 23, 2019 in Docker by Sirajul
• 59,230 points
696 views
0 votes
1 answer

Unable to access Kubernetes UI

Try running the following commad: kubectl describe endpoints ...READ MORE

Aug 28, 2018 in Docker by Kalgi
• 52,360 points
694 views
+1 vote
1 answer

Docker for Windows Error: Open cmd executing docker machine env

You can put the commands in: Shortcut Properties ...READ MORE

Nov 12, 2018 in Docker by Tyrion anex
• 8,700 points
693 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
682 views
0 votes
1 answer

replicate docker swarm cluster

There is nothing like in-built utilities for ...READ MORE

Aug 23, 2018 in Docker by Kalgi
• 52,360 points
680 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,230 points
676 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,230 points
674 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,230 points
674 views