Monday, October 01, 2018

Docker Login Issues of Oracle Container Registry

Symptom:

   When we try to docker pull images from Oracle Container Registry .  You got error
    Like:
[ERROR] Please login with valid credential to the container-registry.oracle.com/kubernetes_developer
        # docker login container-registry.oracle.com/kubernetes_developer

   Then we input username and password,  it logins successfully.  The docker config.json has 'auth'  recorded. When you use docker to pull images again, it still have the same error.

Solution:

    The reason  behind is  we need to push the button on the Oracle Container Registry to  agree term of every component we would like to pull. It is for legal purpose.  The context is like to below. Once you click that, we are able to pull images

You must agree to and accept the Oracle Standard Terms and Restrictions prior to downloading from the Oracle Container Registry. Please read the license agreement on the following page carefully.

1 comment:

ramesh said...

Hi,
I am getting below exception while logging into oracle registry..
docker login container-registry.oracle.com
Username: **********
Password:
Error response from daemon: Get https://container-registry-ash.oracle.com/v1/users/: net/http: TLS handshake timeout


Could you please suggest what was the missing in my configuration..