Problem to solve
The GitLab CI pipeline is failing sometimes with an error “Is the docker daemon running?”, If we re run after a while I will get succeeded. We are using GitLab.com SAAS offering.
docker: Cannot connect to the Docker daemon at tcp://thedockerhost:2375/. Is the docker daemon running?.
See 'docker run --help'.
docker: Cannot connect to the Docker daemon at tcp://thedockerhost:2375/. Is the docker daemon running?.
See 'docker run --help'.
Uploading artifacts for failed job
00:00
WARNING: Failed to inspect predefined container 95a85c4d483f42d854f03e2d8bb26ada237744d5b8f737e8a325bcfc042186ac Cannot connect to the Docker daemon at tcp://10.0.1.86:2376. Is the docker daemon running? (docker_command.go:131:0s)
Using helper image: registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm64-v16.10.0
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm64-v16.10.0 ...
WARNING: Failed to pull image with policy "always": Cannot connect to the Docker daemon at tcp://10.0.1.86:2376. Is the docker daemon running? (manager.go:250:0s)
Cleaning up project directory and file based variables
00:00
WARNING: Failed to inspect predefined container 95a85c4d483f42d854f03e2d8bb26ada237744d5b8f737e8a325bcfc042186ac Cannot connect to the Docker daemon at tcp://10.0.1.86:2376. Is the docker daemon running? (docker_command.go:131:0s)
Using helper image: registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm64-v16.10.0
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm64-v16.10.0 ...
WARNING: Failed to pull image with policy "always": Cannot connect to the Docker daemon at tcp://10.0.1.86:2376. Is the docker daemon running? (manager.go:250:0s)
ERROR: Job failed (system failure): Cannot connect to the Docker daemon at tcp://10.0.1.86:2376. Is the docker daemon running?