Cannot connect to the Docker daemon

Hi there, I have installed Client version 1.5.0 (Client API 1.17) in to my Windows 7 SP1 machine. I followed the Windows Install instructions with no problem. I run Boot2Docker Start and it is started successfully. However, when I run the docker version command I am informed on version details with a FATA error message below stating:

FATA[0000] Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host?

When I run docker -d I am told there is a permission error:

INFO[0000] +job serveapi(unix:///var/run/docker.sock)
FATA[0000] open /var/run/docker.pid: permission denied

Has anyone come across and resolved this?

Cheers, camm07

1 Like