Docker Daemon Not Available

If you receive the following error message while running a CircleCI 2.0 build:  

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

This typically indicates that you are running a docker command without using remote docker.

In order to run any docker command on CircleCI 2.0 you need to add the setup_remote_docker step as described in the following documentation.

Was this article helpful?
2 out of 2 found this helpful

Comments

1 comment

Please sign in to leave a comment.