sunshine sunshine - 1 year ago 149
Git Question

Failed Test in Gitlab

I am getting this error while build , what could be the reason?

enter image description here

Answer Source

Maybe you did not run gitlab-runner with /var/run/docker.sock mounted as a (file) volume?

See this issue:

Make sure to use:

docker run -d --name gitlab-runner --restart always \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v /srv/gitlab-runner/config:/etc/gitlab-runner \

See "Run gitlab-runner in a container"

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download