dial unix /var/run/docker.sock code example
Example: containers/create: dial unix /var/run/docker.sock: connect: permission denied
sudo setfacl --modify user:<user name or ID>:rw /var/run/docker.sock
sudo setfacl --modify user:<user name or ID>:rw /var/run/docker.sock