How to configure Openshift to refer internal registry for building, if the image is present locally

Solution Verified - Updated -

Issue

  • Openshift is not refering internal registry for pulling images that are already present in the internal docker-registry.
  • Have already pulled registry.access.redhat.com/jboss-eap-7/eap71-openshift, but every a new build is started, it always pull the image again from registry.access.redhat.com/jboss-eap-7/eap71-openshift, how can we make it do the same from local docker-registry.

Environment

  • OpenShift Container Platform
    • 3.9

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.