Getting Unauthorized: Authentication Required When Trying to Push Into External Exposed Image Registry

Solution Verified - Updated -

Issue

[root@localhost ~]# docker login -u example -p somepassword registry.apps.example.com
Login Succeeded
[root@localhost ~]#
[root@localhost ~]# docker push registry.apps.example.com/openshift/test
22j4zia2lk2nm: Pushing [==================================================>] 8.192 kB
. . .
a23gfzs1c363a: Waiting
unauthorized: authentication required
  • Pushing into exposed registry in a separate cluster fails

Environment

  • Red Hat OpenShift Container Platform
    • 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In