Cannot connect to the Docker daemon at unix:///var/run/docker.sock
- June 22, 2017
- by
- Venkatesh Thallam
Recently, I have tried installing docker on my Mac using brew
brew install docker
To make sure it was installed, I ran
docker --version
For a moment, It looked Docker is installed successfully, unti I tried to check the docker processes using
docker ps
After, this I have started seeing the error message “Cannot connect to the Docker daemon at unix:///var/run/docker.sock”
After, some juggling between existing issues reported on Github, I found that Docker doesn’t support installation using Homebrew. So I uninstalled the docker using
brew uninstall docker
and installed using the link : Docker Official Mac Installation
And Docker works perfectly now.
Until brew fixes this issue, you should use the official docker.dmg to install on your mac.