Latest questions in Docker

+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 17, 2019 in Docker by Rajendra
• 510 points
6,009 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
• 59,230 points
5,601 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
6,352 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
557 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
608 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
458 views
+1 vote
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
4,007 views
0 votes
1 answer

Is it better to directly remove the container or do I need to stop it first?

Its always better to stop the container ...READ MORE

Jul 30, 2019 in Docker by Vismaya
1,723 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
1,163 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
1,645 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
7,367 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
• 59,230 points
24,044 views
0 votes
1 answer

Get command usage help in docker

The following command is very useful as ...READ MORE

Jul 30, 2019 in Docker by Imran
416 views
0 votes
1 answer

Changes to compose when shifting docker to production

These are the following changes you need ...READ MORE

Jul 30, 2019 in Docker by Vismaya
389 views
0 votes
1 answer

Create a NFS volume while creating a service - docker

Hey @Dipti, yes of course you can! ...READ MORE

Jul 24, 2019 in Docker by Vijay
1,211 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
• 59,230 points
1,293 views
0 votes
1 answer

Container volume path and host path - explain

Your container is running on a system. ...READ MORE

Jul 24, 2019 in Docker by Bob
2,716 views
0 votes
1 answer

stateful or stateless - which application are more useful for docker containers?

It is preferable to create a Stateless ...READ MORE

Jul 24, 2019 in Docker by Yamini
2,286 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,093 views
+1 vote
1 answer

Build Docker image for PHP Web application - ADD failed

Thank you Sirajul Yes, I have changed it ...READ MORE

Jul 15, 2019 in Docker by limcw
• 270 points
2,239 views
0 votes
1 answer

Why do I get Connection reset by peer when making a request to a service running in a container?

Typically, this message is returned if the ...READ MORE

Jul 10, 2019 in Docker by Sirajul
• 59,230 points
4,103 views
0 votes
1 answer

Could you demonstrate a simple docker puppet integration?

Here's a simple demo of puppet-docker example: Assuming you ...READ MORE

Jul 10, 2019 in Docker by Sirajul
• 59,230 points
532 views
0 votes
1 answer

Is there a way to override the default dockerfile when i try to build a container using build() in a jenkins pipeline?

You can pass other arguments to docker build ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,230 points
2,264 views
0 votes
1 answer

How to cache data for containers?

Many build tools like maven etc, will ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,230 points
2,705 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
• 59,230 points
8,154 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
811 views
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
• 59,230 points
12,138 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
727 views
0 votes
1 answer

How to mount directories from a docker-machine to my local host?

You could do this using the docker-machine ...READ MORE

Jul 9, 2019 in Docker by Sirajul
• 59,230 points
4,570 views
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
856 views
0 votes
1 answer

How to enable forwarding from docker containers to the outside world?

By default, traffic from containers connected to ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
10,570 views
0 votes
1 answer

What is the way to configure the default bridge network?

To configure the default bridge network, you need to specify ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
1,764 views
0 votes
1 answer

How to revert changes to a service's configuration?

In order to roll back the service ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
1,831 views
0 votes
1 answer

using docker-compose with docker-swarm : can swarm build an image from a dockerfile?

Yes, you could integrate the two of ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
3,113 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
757 views
0 votes
1 answer

How to change a node's availability?

Hey @jenny,  You can do the following in ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
642 views
0 votes
1 answer

Can I bypass the routing mesh?

Yes. You can bypass the routing mesh, ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
1,291 views
0 votes
1 answer

what is routing mesh under docker swarm mode?

Routing Mesh is a feature which make ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
7,926 views
0 votes
1 answer

Adding nodes to a swarm

To Add Worker nodes : Open a terminal and ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
868 views
0 votes
1 answer

What is a swarm and how to create a swarm?

A swarm consists of multiple Docker hosts ...READ MORE

Jul 8, 2019 in Docker by Nizam
605 views
0 votes
1 answer

What is the role of .dockerignore file?

To understand the role of .dockerignore file, ...READ MORE

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

What are "docker secrets" and why is it necessary?

In terms of Docker Swarm services, a secret is ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points
618 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
15,992 views
0 votes
1 answer

Switching from swarm to kubernetes for a node while using the "mixed" orchestrator type.

To change the orchestrator type for a ...READ MORE

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

Which orchestrator would you recommend ? swarm or kubernetes?

Well, which orchestrator is best will depend ...READ MORE

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

How does mixing Swarm and Kubernetes work in the same cluster?

Yes you could use them together. When you ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points

edited Jul 6, 2019 by Sirajul 2,005 views
0 votes
1 answer

How to share data among docker hosts?

Ways to achieve this when developing your ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points
489 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
685 views
0 votes
1 answer

How can I achieve high availability of my application using docker swarm?

High Availability is a feature where you ...READ MORE

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

deploying your docker image with azure container instances

Hey @Ruby, here's how you can do it ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points
1,620 views