Trending questions in Docker

0 votes
1 answer

What is the difference between Docker compose and Docker file, when I can use volume and configs in Docker compose?

Docker-compose is in YAML and the docker ...READ MORE

Oct 23, 2020 in Docker by Kusha
1,589 views
0 votes
1 answer

How can I connect a docker container to two docker networks that I have created?

Hi@akhtar, It's correct that the network argument of ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,460 points
10,845 views
+2 votes
1 answer
0 votes
1 answer

Will docker run on I5 or I7 is required?

It will run on i3 as well. ...READ MORE

Oct 5, 2020 in Docker by Vel
2,142 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
1,016 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,977 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,155 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
759 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
900 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
865 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
901 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,979 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
628 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
746 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,025 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
646 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,471 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,591 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,893 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,662 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
723 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,662 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,718 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,802 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,895 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,062 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
612 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
595 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,827 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,160 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,811 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
950 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,109 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,865 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,919 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,769 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,840 points
5,267 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,289 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,135 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
712 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,836 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,560 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
860 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,389 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,590 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,243 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,690 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
809 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,630 views