docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

1 min read

From my case,

After an upgrade I got the permission denied. Doing the steps of ‘mkb’ post install steps don’t have change anything because my user was already in the ‘docker’ group; I retry-it twice any way without success.

After an search hour this following solution finaly worked :

sudo chmod 666 /var/run/docker.sock

source : https://www.digitalocean.com/community/questions/how-to-fix-docker-got-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket

Share this post

Found this helpful? Share it with others.

comments powered by Disqus