[英]Gitlab Runner Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
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?
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?
gitlab runner cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
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"]
我已经解决了这个问题,通过添加一个变量 in.gitlab-ci.yml
variables: DOCKER_TLS_CERTDIR: ''
并更新位于安装 gitlab-runner 的系统中的 runners config.toml 文件中的volumes = ["/var/run/docker.sock /var/run/docker.sock" "/cache"]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.