Open ebelouet opened 5 months ago
Hey Eric, it looks like you're running docker on Linux. Usually after installing docker, you need to add your user to a special group of users that allows you to access the docker socket - this group is usually named docker
. Try googling "Docker CLI as non-root on
If you want to be able to run the docker CLI command as a non-root user, add your user to the docker user group, re-login, and restart docker.service.
For example, here's an archlinux wiki article about it.
Hi,
I don't have permission, where is mistake ? docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. sincerely Eric