How to install RHEL rpms inside the UBI continers using host subscription
Issue
- Yum cannot download and install RHEL RPMs from RHEL repos inside the UBI container even base host has a valid subscription.
- Error
RUN yum -y install foomatic
No match for argument: foomatic
Error: Unable to find a match: foomatic
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Podman
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.