Trending questions in Docker

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
982 views
0 votes
1 answer

Slowness issues with a java application running on a docker container over AWS ECS

You can set the following two parameters ...READ MORE

Oct 5, 2020 in Docker by Rajendra Prasad
1,925 views
0 votes
1 answer

Docker: port 80 bind error.

Try to add an inbound rule for ...READ MORE

Oct 20, 2020 in Docker by Lokesh
1,124 views
0 votes
1 answer

With docker compose, which parameter should I use to run a yaml file ?

Yep. Wrong command. $ docker-compose build And then run ...READ MORE

Oct 27, 2020 in Docker by Justin
726 views
0 votes
1 answer

How to use a single URL to access an application on 4 different containers in docker?

You need to decide which service will ...READ MORE

Oct 24, 2020 in Docker by anonymous
865 views
0 votes
1 answer

How to install docker in windows 10 home??? Any suggestion without Docker tool it is not working in my windows!

Check if you’re using Windows 10, either ...READ MORE

Oct 24, 2020 in Docker by Lincy
846 views
0 votes
1 answer

What is cmd and entrypoint in Docker?

CMD and ENTRYPOINT are instructions given in ...READ MORE

Oct 19, 2020 in Docker by Kim
864 views
0 votes
1 answer

How to create docker file and docker image?

You will have to create a dockerfile ...READ MORE

Oct 24, 2020 in Docker by Sam
616 views
0 votes
1 answer

Error: Failed to download metadata for repo 'AppStream'

Hi@akhtar, I think network connectivity is not proper ...READ MORE

Jun 22, 2020 in Docker by MD
• 95,460 points
5,931 views
0 votes
1 answer

How to find Docker logs on Linux?

Hi@akhtar, By default, the docker logs command shows the logs of ...READ MORE

Oct 20, 2020 in Docker by MD
• 95,460 points
728 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
1,002 views
0 votes
1 answer

How to increase the size of images while creating docker file?

Docker image optimization usually is intended to ...READ MORE

Oct 19, 2020 in Docker by anonymous
609 views
0 votes
2 answers

How to open docker containers file system?

Adding on to @DareDev's answer there's one ...READ MORE

Aug 5, 2019 in Docker by Sirajul
• 59,230 points
20,447 views
0 votes
2 answers

Error saying " "hosts" E212: Can"t open file for writing" when trying to change host name on the VM

I am interested in the answer as ...READ MORE

Jan 26, 2019 in Docker by anonymous
28,502 views
0 votes
1 answer

How do we deploy a war ( from git to tomcat in ubuntu image ) using docker files?

Hi, If you want to clone your repo ...READ MORE

Sep 17, 2020 in Docker by MD
• 95,460 points
1,645 views
+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

Dec 10, 2018 in Docker by Prateek
34,714 views
0 votes
1 answer

How many docker services we can run in the single server?

You can run any number but depends ...READ MORE

Oct 8, 2020 in Docker by Kim
689 views
+2 votes
1 answer

How to plot graph inside docker container?

Hi@akhtar, To plot a graph we generally use ...READ MORE

May 19, 2020 in Docker by MD
• 95,460 points
6,603 views
0 votes
1 answer

sudo: no tty present and no askpass program specified - how to resolve this error

Hi@Roshin, When you use sudo command, it will ask ...READ MORE

Jun 11, 2020 in Docker by MD
• 95,460 points
5,695 views
0 votes
1 answer
0 votes
1 answer

bash script, Write a script that will automatically provision 3 docker containers

Hi, It is very simple if you know ...READ MORE

Aug 17, 2020 in Docker by MD
• 95,460 points
2,768 views
+1 vote
1 answer

How to change the default IP address of docker bridge adapter?

Hi@akhtar, You can reconfigure the default bridge network ...READ MORE

May 11, 2020 in Docker by MD
• 95,460 points
6,855 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
1,043 views
0 votes
0 answers

How can i start docker?

I have a windows 8.1 machine and ...READ MORE

Sep 28, 2020 in Docker by Pranav
• 120 points
592 views
0 votes
1 answer

How to get into a Docker container shell?

Hi@akhtar, The docker exec command is probably what you are ...READ MORE

Sep 28, 2020 in Docker by MD
• 95,460 points
574 views
0 votes
2 answers

Docker: unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx

Very cliche, but check if the Dockerfile ...READ MORE

Apr 23, 2019 in Docker by Umer
28,805 views
0 votes
0 answers

Cadvisor container root partition monitoring when using overlay2 with size limits

I am trying to monitoring root partitions ...READ MORE

Sep 10, 2020 in Docker by anghelutar
• 120 points
1,141 views
0 votes
1 answer

Dockerfile to install nginx on Ubuntu

Hey @Greg, this is a simple dockerfile ...READ MORE

Jul 23, 2019 in Docker by User101
18,754 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,460 points
928 views
0 votes
1 answer

Do docker containers have their own kernel and CPU?

Hi@akhtar, No. Docker image/container only has the application ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,460 points
8,065 views
+1 vote
1 answer

How to run jenkins service inside docker container?

Hi@akhtar, By default systemctl command will not run ...READ MORE

May 12, 2020 in Docker by MD
• 95,460 points
5,806 views
0 votes
1 answer

error creating aufs mount to /var/lib/docker/aufs/mnt/6c1b42ce1a98b1c0f2da7f1-init: invalid argument

Hi@akhtar, To solve this error, you have to ...READ MORE

Apr 16, 2020 in Docker by MD
• 95,460 points
6,882 views
0 votes
1 answer

How to run a cron job inside a docker container?

Hii, crond works well with tiny on Alpine RUN apk add --no-cache ...READ MORE

May 18, 2020 in Docker by Niroj
• 82,880 points
5,241 views
0 votes
1 answer

Uncaught Error: Call to undefined function mysqli_connect

Hi@akhtar, This error may occurred because “PHP mysqli plugin” is ...READ MORE

Apr 14, 2020 in Docker by MD
• 95,460 points
6,702 views
0 votes
1 answer

Yum is not working inside docker container!

Hi@akhtar, Sometime dns is not able to resolve ...READ MORE

Apr 22, 2020 in Docker by MD
• 95,460 points
6,266 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 34,056 views
0 votes
1 answer

How to create a secret in docker?

Hi@akhtar, In Docker, a secret is any blob ...READ MORE

Aug 17, 2020 in Docker by MD
• 95,460 points
695 views
0 votes
1 answer

error: permission denied in docker ?

Hi@akhtar, This is because of docker permission for ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,460 points
6,802 views
0 votes
1 answer

-su: cd: /root/: Permission denied

Hi@akhtar, You are trying to run your command ...READ MORE

Jun 6, 2020 in Docker by MD
• 95,460 points
3,489 views
0 votes
1 answer

How to launch a Docker container for MySQL?

Hi@akhtar, You can download MySQL image from the docker ...READ MORE

Jul 29, 2020 in Docker by MD
• 95,460 points
827 views
0 votes
1 answer

How to launch one Docker container for Logstash?

Hi@akhtar, You can find one Docker image for ...READ MORE

Jun 17, 2020 in Docker by MD
• 95,460 points
2,346 views
+1 vote
1 answer

How to expose docker container's ip and port to outside docker host without port mapping?

you can accomplish this with IP aliasing ...READ MORE

Aug 2, 2018 in Docker by Kalgi
• 52,350 points

edited Jan 16, 2020 by Kalgi 31,547 views
0 votes
1 answer

Failed to start podman.service: Unit podman.service not found.

Hi@akhtar, Before starting Podman service, you have to ...READ MORE

Apr 20, 2020 in Docker by MD
• 95,460 points
4,209 views
+1 vote
1 answer

Docker-compose up throwing error

the issue is with space formatting of ...READ MORE

Feb 29, 2020 in Docker by anonymous
7,676 views
0 votes
1 answer

Delete multiple docker images at a time.

Hi@akhtar, You can create your customize command to ...READ MORE

Jul 6, 2020 in Docker by MD
• 95,460 points
777 views
0 votes
1 answer

what are the different types of docker networking drivers ?

Docker’s networking subsystem is pluggable using drivers. ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points
16,575 views
0 votes
1 answer

Dockerfile to install apache server and start httpd service on it.

Hey @Kali, That's pretty simple. You could have ...READ MORE

Jan 22, 2019 in Docker by Yesha
23,317 views
0 votes
1 answer

How to copy files from docker container to local system?

Hi@akhtar, You can copy your file from docker ...READ MORE

May 12, 2020 in Docker by MD
• 95,460 points
2,689 views
0 votes
1 answer

run script shell inside docker app and mongodb container not working?

Hi, I think this error occurs because you ...READ MORE

Mar 9, 2020 in Docker by MD
• 95,460 points
5,249 views
0 votes
1 answer

How to launch one Docker Container for ElasticSearch Engine?

Hi@akhtar, You can use ElasticSearch image that is ...READ MORE

Jun 16, 2020 in Docker by MD
• 95,460 points
557 views