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?
Asked
Active
Viewed 807 times
1

Anurag Arwalkar
- 615
- 7
- 10
1 Answers
1
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"]

Anurag Arwalkar
- 615
- 7
- 10