`microdnf` command completely overwrites the /etc/yum.repos.d/redhat.repo in UBI-minimal image

Solution In Progress - Updated -

Issue

  • When using ubi8-minimal/ubi9-minimal images, every invocation of the microdnf command completely overwrites the /etc/yum.repos.d/redhat.repo file.

  • Due to the above, it is not possible to permanently enable or disable repositories in the ubi-minimal containers.

Environment

  • UIB8-minimal container image
  • UBI9-minimal container image

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