Trending questions in Docker

+3 votes
17 answers

How can I run a ‘docker exec’ command inside a docker container?

you can run any command in a ...READ MORE

Dec 10, 2018 in Docker by Pramiti
434,515 views
+2 votes
2 answers

Copying files from host to Docker container

P.S The docker cp command works similar to the ...READ MORE

Aug 28 in Docker by Pistle
• 1,000 points
118,131 views
+2 votes
11 answers

How to run multiple commands in docker at once?

Try this: docker run image bash -c "cd ...READ MORE

Apr 17, 2019 in Docker by anonymous

edited Apr 17, 2019 by Kalgi 88,414 views
+2 votes
3 answers

How do I execute multiple commands using docker-compose

You can also use the depends_on option ...READ MORE

Apr 22, 2019 in Docker by Kavya
47,752 views
+3 votes
6 answers

If conditional in docker file

You can use the test command RUN test ...READ MORE

Dec 10, 2018 in Docker by Shushant
51,744 views
0 votes
1 answer

COPY failed: stat /var/lib/docker/tmp/docker-builder506410735/root/page: no such file or directory

Hi@akhtar, To copy files from base system to ...READ MORE

Jun 4 in Docker by MD
• 55,740 points
5,725 views
0 votes
1 answer

How to remove a docker container using Ansible playbook?

Hi@akhtar, You can set the state=absent in your ...READ MORE

3 days ago in Docker by MD
• 55,740 points
12 views
0 votes
2 answers

Invalid key error message while using Docker for Windows

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

6 days ago in Docker by Kim
17 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

6 days ago in Docker by MD
• 55,740 points
20 views
0 votes
1 answer

mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied

Hi@akhtar, You are getting this error because Grafana ...READ MORE

Sep 6 in Docker by MD
• 55,740 points
130 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 9 in Docker by anghelutar
• 120 points
34 views
0 votes
1 answer

How to make Grafana container data persistent?

Hi@akhtar, You need to create a volume in ...READ MORE

Sep 6 in Docker by MD
• 55,740 points
68 views
0 votes
1 answer

How to configure Grafana on Docker?

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

Sep 6 in Docker by MD
• 55,740 points
43 views
0 votes
1 answer

How to find a Docker container IP address from the command line?

Hi@akhtar, You can use the docker inspect command ...READ MORE

Sep 4 in Docker by MD
• 55,740 points
103 views
0 votes
1 answer

Error: error response from daemon get https //registry-1.docker.io/v2/ connection refused

Hi@akhtar, Sometimes it happens. I also faced this ...READ MORE

Aug 27 in Docker by MD
• 55,740 points
173 views
0 votes
1 answer

Error: 'logs/gunicorn-error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')

Hi@akhtar, Before trying with a docker container, I ...READ MORE

Aug 24 in Docker by MD
• 55,740 points
85 views
0 votes
1 answer

How to install zabbix in docker?

Hi@akhtar, In your Zabbix server, create a folder ...READ MORE

Aug 24 in Docker by MD
• 55,740 points
78 views
0 votes
1 answer

How to install packages in a Docker container?

Hi@akhtar, To install packages in a docker container, ...READ MORE

Apr 15 in Docker by MD
• 55,740 points
5,701 views
0 votes
1 answer
0 votes
6 answers

docker: executable file not found in $PATH

file not found in $PATH READ MORE

May 9, 2019 in Docker by anonymous
26,185 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 in Docker by MD
• 55,740 points
57 views
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 in Docker by MD
• 55,740 points
67 views
0 votes
1 answer

docker: driver failed programming external connectivity on endpoint webserver

Hi@akhtar, I also faced the same issue, when ...READ MORE

Jul 29 in Docker by MD
• 55,740 points
340 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 in Docker by MD
• 55,740 points
73 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 in Docker by MD
• 55,740 points
1,353 views
0 votes
1 answer

How to enable SSH inside Docker container?

Hi@akhtar, To enable SSH inside Docker Container, you ...READ MORE

Jun 4 in Docker by MD
• 55,740 points
1,948 views
0 votes
1 answer

Failed to get D-Bus connection: Operation not permitted.

Hi@akhtar, Service command will not work inside the ...READ MORE

Jun 22 in Docker by MD
• 55,740 points
962 views
0 votes
1 answer

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

Hi@akhtar, To install any software using non root ...READ MORE

Jun 6 in Docker by MD
• 55,740 points
1,594 views
0 votes
1 answer

How to run firefox inside docker container?

Hi@akhtar, Generally, if you run firefox inside docker ...READ MORE

Apr 16 in Docker by MD
• 55,740 points
3,630 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 in Docker by MD
• 55,740 points
86 views
0 votes
1 answer

How to rename Docker images without rebuilding it?

Hi@akhtar, You can rename your docker image by ...READ MORE

May 19 in Docker by MD
• 55,740 points
2,017 views
0 votes
4 answers

I'm trying to run docker with Jenkins pipeline but I'm facing this Jenkins pipeline error and a socket.io error.

This happens when the Jenkins user is ...READ MORE

Jun 26, 2018 in Docker by Sophie may
• 10,100 points
17,027 views
0 votes
1 answer

-su: cd: /root/: Permission denied

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

Jun 6 in Docker by MD
• 55,740 points
1,111 views
0 votes
1 answer

Error starting daemon: pid file found, ensure docker is not running or delete /var/snap/docker/179/run/docker.pid

Hi@akhtar, It means the previous PID file of ...READ MORE

Apr 14 in Docker by MD
• 55,740 points
3,005 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 10 in Docker by MD
• 55,740 points
495 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 in Docker by MD
• 55,740 points
143 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 in Docker by MD
• 55,740 points
63 views
0 votes
1 answer

Error:Failed to start redis.service Unit redis-server.service is masked

Hello, If redis.service file is missed in directory path /etc/systemd/system/redis.service so we ...READ MORE

May 18 in Docker by Niroj
• 57,700 points
1,246 views
0 votes
1 answer
+2 votes
1 answer

How to plot graph inside docker container?

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

May 19 in Docker by MD
• 55,740 points
760 views
+2 votes
1 answer
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 in Docker by Niroj
• 57,700 points
746 views
0 votes
1 answer

fault tolerance algo superposion

Hi@emna, I don't know to much related to ...READ MORE

Jun 4 in Docker by MD
• 55,740 points
96 views
0 votes
1 answer

iptables v1.6.0: can't initialize iptables -F: Permission denied (you must be root)

Hi@akhtar, You may get this error, if you didn't ...READ MORE

May 12 in Docker by MD
• 55,740 points
927 views
0 votes
1 answer

How to export Docker container metrics?

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

May 28 in Docker by MD
• 55,740 points
111 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 in Docker by MD
• 55,740 points
743 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 in Docker by MD
• 55,740 points
578 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 in Docker by MD
• 55,740 points
1,423 views