Skip to content

Jobs failing with "Cannot connect to the Docker daemon"

The issue was moved to GitLab Runner project at gitlab-runner#4501 (closed). Please move all discussion there.


Summary

CE and EE jobs are are failing with an error like:

docker: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?.

E.g.:

This is also affecting customers. Presumably it will affect anyone using docker:stable-dind on our runners.


Update

The runners have been updated with DOCKER_TLS_CERTDIR="" and so this error should no longer appear on gitlab.com when using GitLab's runners.

Edited by Tomasz Maczukin