How to manually change OpenShift's default image streams credentials

Solution Verified - Updated -


  • Need to change credentials in OpenShift for external registry;
  • Can't use any default image streams from namespace openshift. Pods using them stays in status ErrImagePull and/or ImagePullBackOff. Detailed error shows:

    Failed to pull image "docker-registry.default.svc:5000/openshift/mariadb@sha256:c14bc6d18c0cb79d1deab12ccdef16cb2a43615133689e86e9d58d155d34618a": rpc error: code = Unknown desc = Error reading manifest sha256:c14bc6d18c0cb79d1deab12ccdef16cb2a43615133689e86e9d58d155d34618a in docker-registry.default.svc:5000/openshift/mariadb: unknown: unable to pull manifest from Get unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here:


  • Red Hat OpenShift Container Platform (OCP) 3.x

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