docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.14k stars 1.11k forks source link

permission denied while trying to connect to the Docker daemon socket #1124

Closed na1983 closed 7 months ago

na1983 commented 10 months ago

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=postgres&tag=latest": dial unix /var/run/docker.sock: connect: permission denied

LaurentGoderre commented 10 months ago

This doesn't seem to be a problem with the image but with the way Docker itself is being called. Can you provide the command you used to get this error?