Docker Community Forums

Share and learn in the Docker community.

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


(Mehab) #1

Unable to install couch base server via docker on mac.
Getting the below error:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Please help with this


(Mehab) #2

Found a solution for this… able to perform the installation after a system restart


(Sreenathpgs) #3

I am working on docker installed in AWS and i’m getting the same error even after restarting the VM on AWS.


(Jaydesai83) #4

Similar solution worked for me too. In my case I stopped the service and started the service.

sudo service docker stop
sudo service docker start


(Arjit777) #5

bro it’s working thank you indeed


(19971206) #6

Hi. I have the same problem and I follow your advice but then I start and run commend “sudo docker info”. I get same problem : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running.