"Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?" in Auto Devops pipeline

Replace this template with your information

Describe your question in as much detail as possible:

This is a freshly-built Omnibus installation (13.11.1-ee). I am connected to a DigitalOcean Kubernetes cluster (1.20.2) and used the cluster page to install Ingress, Runner, etc. I am trying Auto DevOps on a RoR template app and trying to run the CI/CD pipeline.

I am getting this error in the pipeline in the Build stage:
“Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?”
and Docker in Docker 19.03 service fails (#4501) · Issues · GitLab.org / gitlab-runner · GitLab makes me think this should have been fixed?

I am using Auto DevOps so I don’t have access to the pipeline file, and I installed the runner via the web interface so I don’t have configuration available (at least that I am able to find).

I’ve looked at GitLab Runner Helm Chart | GitLab for configuration but I don’t know which if either are relevant since I installed via the web GUI—I have no idea how to access or modify configuration.

I’ve attempted to set DOCKER_TLS_CERTDIR to “” via the CI/CD variables and the job still fails.

Build job seems to be broken for Auto DevOps (#328403) · Issues · GitLab.org / GitLab · GitLab fixed issue.

2 Likes