Permission denied to Docker daemon socket at unix:///var/run/docker.sock

A quick way to avoid that. Add your user to the group.

sudo gpasswd -a $USER docker

Then set the proper permissions.

sudo setfacl -m "user:$USER:rw" /var/run/docker.sock

Should be good from there.

Leave a Comment