My Oracle Support Banner

Docker: failed to docker login with permission denied error (Doc ID 2880022.1)

Last updated on JUNE 30, 2022

Applies to:

Oracle Container Registry Cloud Service - Version N/A to N/A
Information in this document applies to any platform.


 What to do if docker login fails

$ docker login <region-key>
Warning: failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.38/info: dial unix /var/run/docker.sock: connect: permission denied). Using system default:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.