Answers for "failed to GetDockerVersion(): Get "http://unix.sock/version": dial unix /var/run/docker.sock: connect: permission denied"

3

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

sudo setfacl --modify user:<user name or ID>:rw /var/run/docker.sock
Posted by: Guest on July-29-2020
0

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

sudo systemctl restart docker
Posted by: Guest on September-20-2021

Code answers related to "failed to GetDockerVersion(): Get "http://unix.sock/version": dial unix /var/run/docker.sock: connect: permission denied"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language