Problem scenario
You are trying to log into a Docker registry but you get this message:
“Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.29/auth: dial unix /var/run/docker.sock: connect: permission denied”
You know the credentials are correct. What is wrong?
Root cause
It could be that your user account is not a member of the “docker” group on the Linux system.
…