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

You can try out this:

systemctl start docker

It worked fine for me.

P.S.: after if there is commands that you can’t do without sudo, try this:

gpasswd -a $USER docker

Leave a Comment