`Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?`
AdvancedTroubleshootingGitLab CI Failures
Answer
Likely causes → DinD service not started, TLS settings mismatch, or non-privileged runner.
Diagnose → Check the service logs in the job; runner config for privileged = true.
Fix →
services: [docker:27-dind]
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
Or use Kaniko/BuildKit.
Prevent → Standardise one image-build approach.
More on GitLab CI Failures
`This GitLab CI configuration is invalid: jobs:build config contains unknown keys: scripts`.BeginnerPipeline is not created: `Pipeline will not run for the selected trigger. The rules configuration prevented any jobs from being added`.Intermediate`ERROR: Job failed: failed to pull image "x" with specified policies [always]: Error response from daemon: pull access denied`.Intermediate`ERROR: Job failed (system failure): ... context deadline exceeded` on Kubernetes executor.Advanced`This job is stuck because the project doesn't have any runners online assigned to it.`Beginner`fatal: unable to access 'https://gitlab.example.com/group/proj.git/': SSL certificate problem: self signed certificate`.Intermediate