ubuntu - docker connection error: permission denied

When the initial configuration docker, permission denied error

The reason of the lack of authority docker.sock, execute the following command sentence

sudo chmod 666 /var/run/docker.sock

Then success

 

Reference: https://github.com/palantir/gradle-docker/issues/188

Published 45 original articles · won praise 1 · views 3387

Guess you like

Origin blog.csdn.net/qq_22498427/article/details/104385814