Questions tagged [docker-daemon]
114 questions
0
votes
1 answer
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Error on Gitlab Cloud CI/CD with self-hosted runners
I am using gitlab-runner version 14.4.0 and docker version 20.10.11 on Ubuntu 18.04.6 LTS
The machine I am using for the runners is a powerful Supermicro server. Our Gitlab CI is on gitlab cloud (SAAS)
I have been receiving the following errors on…

sacrificulum
- 1
- 1
- 1
0
votes
0 answers
How to expose docker daemon metrics over HTTPS?
Docker daemon metrics can be enabled by setting dockerd options:
OPTIONS="--experimental --metric-addr 127.0.0.1:9323"
The above can also be done by configuring /etc/docker/daemon.json. This would expose my metrics on localhost:9323 over HTTP. I…

Roy van Santen
- 2,361
- 3
- 10
- 11
0
votes
0 answers
Dockerfile is throwing an DNS lookup error while updating packages
While I'm trying to build a new image from a Dockerfile:
FROM alpine:latest
USER root
ENV JAVA_ALPINE_VERSION 8.151.12-r0
RUN apk update && apk upgrade
RUN apk add --no-cache openjdk8="$JAVA_ALPINE_VERSION" curl
RUN rm -rf /var/cache/apk/* && rm…

Filipe Galo
- 5
- 6
0
votes
1 answer
Docker daemon not start after OS update
Currently I've configured my docker usingn /etc/docker/daemon.json
"hosts": ["unix:///var/run/docker.sock", "tcp://0.0.0.0:2376"],
"tls": true,
"tlscacert": "/data/certs/ca.pem",
"tlscert": "/data/certs/server-cert.pem",
…

overraidy
- 13
- 2
0
votes
0 answers
docker build - "error during connect: This error may indicate that the docker daemon is not running."
I'm working on Windows 10 with the CLIs Git Bash, WSL2 and PowerShell. So far, I have not figured out how to make the command docker build -t aws/codebuild/standard:3.0 . work.
I've already tried several things:
In Git Bash: net stop docker
Opening…

Andreas L.
- 3,239
- 5
- 26
- 65
0
votes
1 answer
Azure app service doesn't install docker properly
I am currently trying to start ElasticSearch on an Azure app service using Docker. I install docker through the ssh available in azure app services. Docker seem to install alright in the console, however when I run
docker pull…

Mariana
- 71
- 1
- 7
0
votes
0 answers
can't connect to docker daemon, tho it's started
I run
systemctl status docker
and get
docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-05-22 01:13:39 EDT;…

MeBigFatGuy
- 28,272
- 7
- 61
- 66
0
votes
1 answer
Error connecting to docker daemon (does docker ps work?)
I wanted to create a docker bench with basic setup and I use the basic code given at the Github link for Docker Benche Security. The code is as follows :
docker run --rm --net host --pid host --userns host --cap-add audit_control \
-e…

Tahmid Hossain
- 1
- 2
0
votes
0 answers
Docker container log file missing
On running the command docker container ps -a | grep my_app the docker is showing that its in running status, but the moment I try to see the logs using docker logs -f 858509fc385f where 858509fc385f is the container_id for my_app container. It…

Tanmaya
- 570
- 1
- 4
- 10
0
votes
1 answer
How does Docker-Compose/Deamon know which container to boot after a reboot?
I am asking from a purely technological point of view - I am aware that I can specify a restart policy in Docker Compose. But I wonder where the information to this question "Which containers were running when the reboot/power failure occurred ?" is…

SBifi
- 7
- 1
- 3
0
votes
1 answer
docker run standard_init_linux.go:211: exec user process caused "permission denied"
I am facing this weird issue and don't have a clue after spending three days. I tried moving the docker data directory from /var/lib/docker to /data/docker. The /data mount point has rw,exec permissions set. But when i try to run the container it…

anwar ul hasan
- 65
- 1
- 9
0
votes
0 answers
Docker does not seem to recognize my daemon.json file
As the C drive of my pc is rather small, I wanted to save images to my D drive. For this purpose, I created a daemon.json file at C:\ProgramData\Docker\config\daemon.json. Inside, I only put the following:
{
"data-root": "d:\\docker"
}
However,…

Smamorti7
- 40
- 7
0
votes
0 answers
How to expose only the dockerd websocket endpoint?
I'm working on a server hosting project in clients need to be able to access an xterm virtual terminal of their docker container which would allow them to interact with the running process.
For that to be possible, i exposed the dockerd API on the…

Newe
- 111
- 9
0
votes
1 answer
can't run docker in ubuntu 20.04
I had tried to install docker like I read in lots of site with the same steps, but it didn't work and always send me that error massage:docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. and I…

Inachi
- 1
- 1
0
votes
0 answers
How to forbidden docker run command in docker daemon also how to restrict individual user access to docker daemon
Objective:
I have 200+ projects using docker builds they run docker in their own docker daemon.To reduce cost i setup a central docker build server where i have to allow all projects to build docker images securely
Description
I created the setup…