Red Hat docker images

The problem So you are trying to use RedHat official docker images, also called UBI for Universal Base Images in your CI/CD and try to install some packages. Sometimes it works: $ docker run -it --rm redhat/ubi9:latest [root@6afe7431c74f /]# dnf install nginx Updating Subscription Management repositories. Unable to read consumer identity Subscription Manager is operating in container mode. This system is not registered with an entitlement server. You can use subscription-manager to register....

<span title='2022-08-07 00:00:01 +0000 UTC'>August 7, 2022</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;JC

How to install packages on Red Hat

The problem Hey ! You have just installed a new Red Hat OS and you would like to start to play with but you are stuck with packages installation: $ sudo dnf install nginx Last metadata expiration check: 0:00:10 ago on Thu 23 Jun 2022 08:08:59 AM UTC. No match for argument: nginx Error: Unable to find a match: nginx $ sudo dnf install mariadb Last metadata expiration check: 0:00:26 ago on Thu 23 Jun 2022 08:08:59 AM UTC....

<span title='2022-06-23 00:00:00 +0000 UTC'>June 23, 2022</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;JC