Received "unauthorized: authentication required" when the internal Image Registry is configured as Image Registry Source in OpenShift 4
Issue
- After modifying the object
image.config.openshift.io/cluster
, addingimage-registry.openshift-image-registry.svc:5000
inside{.spec.registrySources.containerRuntimeSearchRegistries[]}
, pulling an image from the internal registry results in "unauthorized: authentication required
". - When the internal Image Registry is configured as a Registry Source, image pull fails with "
unauthorized: authentication required
" error messages.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Internal Image Registry configured as a Registry Source
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.