I’ve stucked on this for days, I’ve checked the docker is running by docker run hello-world. But why still see the error?
docker run hello-world
2
Have you enabled docker service on your host machine? Looks like your local has enabled service but your job receiving runner has not.
docker service
docker : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
above error messages is related to docker service. Service might be not running.
check first systemctl status docker. if status is stop, please run following commands.
systemctl status docker
systemctl start docker
systemctl enable docker
And then, please check again .
Click here to cancel reply.
2
Answers
Have you enabled
docker service
on your host machine? Looks like your local has enabled service but your job receiving runner has not.docker : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
above error messages is related to
docker service
. Service might be not running.check first
systemctl status docker
. if status is stop, please run following commands.systemctl start docker
systemctl enable docker
And then, please check again .