dial unix /var/run/docker.sock: connect: permission denied

dial unix /var/run/docker.sock: connect: permission denied

First, add your user to group docker

sudo usermod -aG docker <username>

And restart Docker daemon

sudo systemctl restart docker

If this not help, change acl for file access:

sudo setfacl --modify user:<username>:rw /var/run/docker.sock

Добавить комментарий