Trending questions in Docker

+1 vote
12 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
179,790 views
+1 vote
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 33,363 views
+2 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
24,501 views
+1 vote
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
18,904 views
+1 vote
0 answers

Docker-compose up throwing error

Here is my code: version: '3.7' services: web: image: nginx databases: image: ubuntu error: /usr/local/lib/python2.7/dist-packages/requests/__init__.py:83: ...READ MORE

Dec 31, 2019 in Docker by saikrishna
• 130 points
91 views
+1 vote
1 answer

How to link one running container with other running container in docker.

Hi @Yuvraj! Yes, this is possible. You can ...READ MORE

Dec 16, 2019 in Docker by Kalgi
• 49,340 points
95 views
+1 vote
1 answer

How to Create absolute path

The absolute path of your resources refers ...READ MORE

Dec 3, 2019 in Docker by Karan
• 7,520 points
98 views
0 votes
1 answer

MySQL container with PHPMyAdmin or with xampp

I couldn’t get your point. Overall it ...READ MORE

Nov 26, 2019 in Docker by Priyank
122 views
0 votes
1 answer

Convert a Docker container into a Singularity container

Its pretty simple. You can just use ...READ MORE

Nov 26, 2019 in Docker by Priyank
98 views
0 votes
1 answer

Docker volume error "Error response from daemon: unable to remove volume: remove DataVolume: volume is in use"

Hi @Hannah, The error mentions which container is ...READ MORE

Nov 25, 2019 in Docker by Aria
122 views
0 votes
1 answer

Run a docker singularity image

It's very similar to running a docker ...READ MORE

Nov 26, 2019 in Docker by Priyank
79 views
+1 vote
1 answer

Remove volume attached to a docker container

If the volume is being referenced by ...READ MORE

Nov 25, 2019 in Docker by Aria
77 views
0 votes
1 answer

laravel with docker ubuntu

You are using a port below 100 ...READ MORE

Nov 26, 2019 in Docker by Priyank
55 views
0 votes
1 answer

Share data between two different containers - Docker

Hi @Hannah, follow these steps: 1. Create an ...READ MORE

Nov 25, 2019 in Docker by Aria
61 views
0 votes
1 answer

if I remove one container will my volume also get deleted

If the volume is being referenced to ...READ MORE

Nov 25, 2019 in Docker by Aria
36 views
0 votes
1 answer

Can I achieve auto-scaling on an increased load for Docker containers?

You can use a Load Balancer. It ...READ MORE

Nov 15, 2019 in Docker by Payal
65 views
+1 vote
1 answer

Devops certification project: Dockerfile and PHP website

Try using relative paths. Recently, even I ...READ MORE

Nov 14, 2019 in Docker by Eric
124 views
0 votes
2 answers

What is docker system prune is used for?

The basic usage of the command docker ...READ MORE

Aug 5, 2019 in Docker by Sirajul
• 44,350 points
4,286 views
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
13,900 views
0 votes
1 answer

Docker compose to bring up a Prometheus server

I think this docker-compose should be helpful. ...READ MORE

Oct 23, 2019 in Docker by Eric
394 views
0 votes
1 answer
0 votes
1 answer

Docker error "ERROR: for nginx Cannot start service nginx: oci runtime error"

I had faced a similar issue and ...READ MORE

Sep 24, 2019 in Docker by anonymous
• 49,340 points
653 views
+1 vote
1 answer

what is the difference between docker swarm and kubernetes

Both Kubernetes and Docker Swarm are important ...READ MORE

Sep 24, 2019 in Docker by Sirajul
• 44,350 points
495 views
0 votes
1 answer

Build a container in Jenkins via "docker pipeline plugin"

In order to create a Docker image, ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 44,350 points
3,560 views
0 votes
1 answer

Run composer while I'm in container

Hey @DinoN, have a look at this ...READ MORE

Sep 30, 2019 in Docker by Sirajul
• 44,350 points
84 views
+1 vote
0 answers

Kitematic is taking longer time

Hi All, Kitematic UI is taking longer time ...READ MORE

Sep 6, 2019 in Docker by Manjunathan
• 130 points
194 views
+1 vote
1 answer

How do i install jenkins using a dockerfile on a windows container?

Here is to how you can install JENKINS ...READ MORE

Aug 22, 2019 in Docker by Sirajul
• 44,350 points
689 views
0 votes
1 answer

Docker: Error response from daemon: timeout was reached before the node joined

The above failure happens when the ‘manager’ ...READ MORE

Aug 28, 2019 in Docker by Sirajul
• 44,350 points
437 views
0 votes
1 answer
0 votes
1 answer

How to start a docker daemon manually?

The daemon includes many configuration options, which ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 44,350 points
2,539 views
0 votes
1 answer

Install jenkins using dockerfile on Ubuntu.

Here's the dockerfile that you can use: FROM ...READ MORE

Aug 22, 2019 in Docker by Sirajul
• 44,350 points
519 views
+2 votes
1 answer

getting error "Error response from daemon: OCI runtime create failed"

FROM: ubuntu:latest MAINTAINER rajendrachowdary40@gmail.com RUN apt-get update RUN apt-get install ...READ MORE

Aug 16, 2019 in Docker by Rajendra
• 470 points
761 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
• 44,350 points
183 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
• 44,350 points
175 views
0 votes
1 answer

Basic docker usage workflow.

Everything starts with the Dockerfile. The Dockerfile ...READ MORE

Aug 27, 2019 in Docker by Sirajul
• 44,350 points
76 views
0 votes
1 answer

Docker Architecture

Docker is having a  client-server architecture. The ...READ MORE

Aug 27, 2019 in Docker by kim
53 views
0 votes
1 answer

Basic built in security features of docker.

Here are few basic built -in security ...READ MORE

Aug 23, 2019 in Docker by Sirajul
• 44,350 points
94 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
• 44,350 points
91 views
+2 votes
2 answers

Running httpd in container as non-root user using port 80

You could probably try adding this cmd in ...READ MORE

Aug 9, 2019 in Docker by Sirajul
• 44,350 points
588 views
0 votes
1 answer

Error saying "E: This command can only be used by root." while installing docker

Try executing the following command: sudo su and ...READ MORE

Aug 6, 2019 in Docker by Ahmad
463 views
+1 vote
0 answers
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
910 views
0 votes
1 answer

Docker error "DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!] "

Did you generate/create a certificate?? If not ...READ MORE

Jul 31, 2019 in Docker by Kavya
274 views
0 votes
1 answer

How is Docker different from other containerization methods?

Docker containers are very easy to deploy ...READ MORE

Jul 30, 2019 in Docker by Yamini
121 views
0 votes
1 answer

Use a TLS certificate - Docker

You do this by creating a drop ...READ MORE

Jul 31, 2019 in Docker by Ajay
53 views
0 votes
2 answers

How do I start a container and create a volume using a volume driver?

You can first create the volume and ...READ MORE

Aug 6, 2019 in Docker by Sirajul
• 44,350 points
59 views
0 votes
1 answer

create and sign a CA key and certificate using openssl

Execute the following commands to create and ...READ MORE

Jul 31, 2019 in Docker by Rashi
52 views
0 votes
1 answer

Use docker API over TCP without giving root access

Docker supports TLS certificates which help in ...READ MORE

Jul 31, 2019 in Docker by Ashish
37 views
0 votes
1 answer

Will I lose my data, when a docker container exists?

No, you won’t lose any data when ...READ MORE

Jul 30, 2019 in Docker by Kavya
79 views
0 votes
1 answer

How far do Docker containers scale? Are there any requirements for the same?

Large web deployments like Google and Twitter ...READ MORE

Jul 30, 2019 in Docker by Jerry
53 views