Docker “Cannot connect to the Docker daemon”

admin/ September 26, 2016/ Linux/ 0 comments

When docker engine commands are not working
If you having issue with error like below-:

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

There is a solution for the above issue.

Step -: Add your user to docker group

$ sudo usermod -aG docker $USER

or

$ sudo usermod -aG docker USERNAME

Example-:
Now your docker engine command will work.

$ docker images

Leave a Reply