Skip to content

latest 'dind' tag (19.03) gives error on Gitlab CI "failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?" #170

@daenny

Description

@daenny

We are running a gitlab server and several gitlab-ci-runners. Today we woke up to several failed builds.
We did several tests and we found out that the most likely culprits are the newest tags of the docker:dind and docker:git images.
We tested with docker:18-dind and docker:18-git and the errors does not occur anymore.

The error is given below:

time="2019-07-23T06:52:31Z" level=error msg="failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 172.17.0.3:2375: connect: connection refused"

The gitlab-runners are running in privileged mode.

EDIT: This is not a bug or unresolved issue:
see: #170 (comment), https://about.gitlab.com/2019/07/31/docker-in-docker-with-docker-19-dot-03/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions