How do I get packages from my Red Hat subscription into container images built from the Red Hat Enterprise Linux Universal Base Image (UBI)?

Solution In Progress - Updated -


  • The Red Hat Universal Base Image (UBI) provided by Red Hat does not offer all available packages within a Red Hat subscription, as it was designed to be used both within and outside of Red Hat environments.
  • When building container images using the Red Hat Universal Base Image (UBI) images as a base image, how do I enable Red Hat Enterprise Linux repositories for packages outside of the default UBI repositories?


  • Red Hat Enterprise Linux (RHEL) 7
  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat OpenShift Container Platform (RHOCP) 3
  • Red Hat OpenShift Container Platform (RHOCP) 4
  • Red Hat Universal Base Images (UBI)

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