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

Recently, I have tried installing docker on my Mac using brew

To make sure it was installed, I ran

For a moment, It looked Docker is installed successfully, unti I tried to check the docker processes using

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

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.

Venkatesh Thallam

Engineer, Entrepreneur and a Problem Solver at heart. Love building things which fundamentally change how people use things for better.

Leave a reply

Your email address will not be published. Required fields are marked *

×