Add software in a minimal UBI container
Install software in minimal UBI containers by using the microdnf command. This command provides essential package management features while keeping the container size small.
Before you begin
- The
container-toolsmeta-package is installed.
Procedure
Results
- List all enabled repositories inside the container:
# microdnf repolist - Ensure that the required repositories are listed.
- List all installed packages:
# rpm -qa - Ensure that the required packages are listed.
Installing Red Hat packages that are not inside the Red Hat UBI repositories can limit the ability to distribute the container outside of subscribed RHEL systems.