How to install packages from RHEL in a UBI container running on a non-RHEL host?

Solution Verified - Updated -

Issue

  • The container host being used is a non-RHEL host.
  • A package is not available in the UBI 7 or UBI 8 package repository.
  • How can a package from the RHEL package repositories (once software from RHEL is installed, UBI is no longer freely redistribute-able) be installed?

Environment

  • Red Hat Universal Base Image (UBI)
    • 7.X
    • 8.X
    • 9.X
  • UBI container not hosted on a Red Hat Enterprise Linux (RHEL) host.

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