Unable to create an S2I build with unauthorized error

Solution Verified - Updated -

Issue

  • When an S2I build is created, the following image pull error is observed.
pull image still failed due to error: Error initializing source docker://image-registry.openshift-image-registry.svc:5000....unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here

Environment

  • Red Hat Openshift Container Platform 4.x [RHOCP]

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content