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.

Goal

 What to do if docker login fails

$ docker login <region-key>.ocir.io
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: https://index.docker.io/v1/

Solution

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
Goal
Solution
References


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