Questions tagged [docker-engine]

Docker Engine runs on Linux to create the operating environment for your distributed applications.

At the core of the Docker platform is Docker Engine, a lightweight runtime and robust tooling that builds and runs your Docker containers. Docker Engine runs on Linux to create the operating environment for your distributed applications. The in-host daemon communicates with the Docker client to execute commands to build, ship and run containers.

See official website for details.

108 questions
5
votes
1 answer

Docker host-mounted volume permissions

In our internal testing environment we provision CentOS VMs from a vSphere-based server. The images are vanilla 7.1 with packages and associated configuration to support authentication via LDAP. I have Docker 1.13.1 installed with OverlayFS driver…
zaps
  • 51
  • 1
  • 3
4
votes
2 answers

Are docker containers totally isolated from the host machine OS?

When I am talking with people and reading articles about containers, I hear definition that docker container is isolated one from another, as well as from host machine. However I wanted to ask, what is exactly isolation level in that case, is it…
liotur
  • 809
  • 2
  • 17
  • 36
4
votes
2 answers

unable to start 'Docker for windows' on Azure Win 10 VM

I just downloaded "Docker for Windows" from the Docker Hub website https://hub.docker.com/editions/community/docker-ce-desktop-windows I am running an Azure VM with Windows 10 Pro N. The VM's size is 'Standard B2s (2 vcpus, 4 GB memory)' I am…
knowdotnet
  • 839
  • 1
  • 15
  • 29
4
votes
2 answers

How to set a docker-compose /bin/bash entrypoint?

I'd like to enter a docker container in interactive mode with the commad /bin/bash using a docker-compose.yml only. There is a similar question here on stack overflow: Interactive shell using Docker Compose Answers provided there didn't work. This…
The Fool
  • 16,715
  • 5
  • 52
  • 86
4
votes
0 answers

Docker Engine API connect to an existing network

I have to connect a container created with Docker Engine API to an existing network. $ docker network ls NETWORK ID NAME DRIVER SCOPE 2babcf993368 bridge bridge …
4
votes
0 answers

UCP install on docker EE fails: Node docker-ee-test is not ready yet

I've installed docker EE. Now I'm trying to setup docker ucp: docker container run --rm -it --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:3.0.1 install --pod-cidr 10.0.0.0/16 --host-address 192.168.140.131 …
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
4
votes
2 answers

docker error during connect - deamon is not running on Windows 10

I am using Windows 10 pc. Recently I have downloaded docker for Windows and it was working fine. But, recently a problem occurred and is it not start anymore it just hang in the status starting. I haven't changed any configuration and I am…
clockworks
  • 3,755
  • 5
  • 37
  • 46
4
votes
6 answers

Docker Swarm: Error response from daemon: error while validating Root CA Certificate: x509: certificate has expired or is not yet valid

OS: CentOS 7 VM Docker latest version Commands Executed: 1) docker swarm init 2) docker swarm join --token SWMTKN-1-3iqtmbz55yvhxkahe2ncs7d9ebxzlzmw1pwhqzvmcemiolef63-3muc4qjs3mbvh53t8ktzzmb22 192.168.10.108:2377 Error: Error response…
CK5
  • 1,055
  • 3
  • 16
  • 29
3
votes
1 answer

This error may indicate that the docker daemon is not running

I am new to Docker and after writing docker version in cmd I got this error: error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open…
3
votes
1 answer

Container abruptly killed with warning "cleaning up after killed shim"

We have recently upgraded from docker version 17.06.0-ce to 18.09.2 on our deployment environment. Experienced container got killed suddenly after running for few days without much information in docker logs. Monitored the memory usage, and the…
3
votes
2 answers

gitlab-runner on windows in docker fails to run with wrong OSType error

I have a gitlab-runner on a Windows Server with enabled Hyper-V. With the docker API exposed to the network I'm able to run linux docker containers and even docker itself with docker:latest. e:\>docker run -ti --rm -e…
3
votes
0 answers

Docker Engine API - Connection reset by peer

I'm trying to make requests to the Docker API remotely. I have the docker engine running on virtual machine, and I'm making the requests from docker containers. Firstly, I've done this to make the Docker daemon listen on a specific IP and…
MLGonc
  • 99
  • 2
  • 12
3
votes
0 answers

Error starting docker service. "A dependency job for docker.service failed. See 'journalctl -xe' for details."

So, after some minor changes in the docker configuration I tried to restart docker and it resulted in below error message: A dependency job for docker.service failed. See 'journalctl -xe' for details. Kubernetes is also running on the same machine…
3
votes
1 answer

Set the number of CPU cores of a container using Docker Engine API

I have a backend server program that launches docker containers using the Docker Engine API (Json API) and I would like to limit the number of CPU cores per docker container to e.g. 1. The Docker Engine API documentation has several options to…
Linoliumz
  • 2,381
  • 3
  • 28
  • 35
3
votes
1 answer

Set max lifetime for Docker Container?

Is there any possibility to start a Docker container (with certain commands in CMD) and make sure it doesn't stay up for more than a specified period time? E.g. I have an Ubuntu container, which I want to start, execute some commands and exit (kill…
amihaiemil
  • 623
  • 8
  • 19