Reputation: 725
I'm facing this issue while building the docker file I have installed gitlab-runner version 13.8.0
gitlab runner cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Upvotes: 1
Views: 1104
Reputation: 725
I have fixed this issue disabling the TLS by adding a variable in .gitlab-ci.yml variables: DOCKER_TLS_CERTDIR: ''
and updating volumes in runners config.toml file located in system where gitlab-runner is installed volumes = ["/var/run/docker.sock /var/run/docker.sock" "/cache"]
Upvotes: 1