Questions tagged [docker-daemon]

114 questions
1
vote
0 answers

Docker Daemon Bip Configuration

I am trying to write an automation script to install docker in CentOS with a bip configuration using docker daemon file. However, the docker directory /etc/docker/ is not created till the time docker service is started after installation. So,…
Nirley Gupta
  • 266
  • 1
  • 2
  • 10
1
vote
1 answer

Start docker from docker - Can't connect to daemon

I'm trying to start a docker container from inside a docker container. I found multiple posts about this problem, but not for this specific case. What I found out so far is, that I need to install docker in the container and mount the hosts…
LeoE
  • 2,054
  • 1
  • 11
  • 29
1
vote
1 answer

docker load: Check if up-to-date

My app runs in a Docker container and I'm using off-line deployment where I docker save the image on my development machine and bundle it with the app manually transfer the bundle of tarfile and my app via USB stick docker load it on the target…
Felix L.
  • 11
  • 2
1
vote
1 answer

Docker daemon keeps writing disk and cause shell commands to run slowly

My sandbox computer is very very slow recently, and after digging into it I found the docker daemon is writing to disk frequently as below TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND …
Wallace
  • 561
  • 2
  • 21
  • 54
1
vote
0 answers

Docker Content Trust Runtime enforcement: how to specify a separate content trust server url (notary)

I am trying to setup runtime enforcement with Docker Content Trust, as specified here: https://docs.docker.com/engine/security/trust/content_trust/#runtime-enforcement-with-docker-content-trust. { "content-trust": { "mode": "enforced" …
nsx
  • 21
  • 2
1
vote
1 answer

error creating overlay failed to mount overlay: permission denied

I wanna change docker storage drive to overlay2 for use kubernetes daemon.json : { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2" } but the…
1
vote
1 answer

What is the workflow of a docker image building?

I know to use the "docker build" to build an image from Dockerfile and it would package a tar to Docker daemon. How does it work on Docker daemon when building the image? Is it create a temporary container?
1
vote
0 answers

Docker-Plugin on IntelliJ having issues connecting with Docker-Daemon on VirtualBox

I run IntelliJ-IDEA on Windows10, and I want to use the Docker-Plugin to connect with Docker-Daemon on Ubuntu 19.04 Disco Dingo inside VirtualBox using TCP socket. I installed Docker properly onto Ubuntu inside VirtualBox. I created all the needed…
0
votes
0 answers

Why is Docker daemon API listening on //./pipe/docker_engine_windows when docker ps expects and fails to open open //./pipe/docker_engine

TLDR: Title, and: Is this a problem, or am I looking in the wrong place? I'm trying to understand our build agent which is a Windows Server 2019 Standard, PS C:\Program Files\Docker\Docker> (Get-WmiObject -class Win32_OperatingSystem).Caption…
gakera
  • 3,589
  • 4
  • 30
  • 36
0
votes
0 answers

Why does `docker image ls` show the same result with `ctr image ls`?

My problem is docker image ls shows some Docker images that do not exist in ctr image ls. I check with default namespace and k8s namespace, but my Docker images do not exist in ctr image ls. How can I resolve this problem? When using docker image…
sorosh_sabz
  • 2,356
  • 2
  • 32
  • 53
0
votes
1 answer

How to prevent docker compose from timeout in ci in case of bad network

Motivation because of reasons my gitlab-ci job times out during / towards the end of a docker compose up, which takes endless time (network, image size ...) Problem All the timeout settings don't have an effect; neither gitlab job timeout, nor…
til
  • 832
  • 11
  • 27
0
votes
0 answers

Cannot connect to Docker daemon even though docker service and dockerd are running

I am having an issue with docker on my local server, after running for a while (around 1day) docker will stop working and i wouldn't be able to connect to the default socket (unix:///var/run/docker.sock). the only way i found to fix it was to…
Kaki Master Of Time
  • 1,428
  • 1
  • 21
  • 39
0
votes
0 answers

Permission denied error while running Docker outside of Docker (DinD alternative)

I am trying to run a docker container which will allow me to have access to Docker daemon of the host machine (Docker outside of Docker approach). I am planning to run this container in a specific docker network and access the docker daemon via a…
0
votes
0 answers

Remote Docker only Binds to tcp6

So I wanted to enable remote docker, to use the API for the daemon from outside the host. My /etc/docker/daemon.json looks like this: { "hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"] } And my…
0
votes
0 answers

Configure remote access for Docker daemon with token authentication

I followed the first section of this page https://docs.docker.com/config/daemon/remote-access/ to expose Docker daemon to use API from my Symfony project (on remote only). I'd like to use this Docker Engine API but the exposition of daemon is…
pirmax
  • 2,054
  • 8
  • 36
  • 69