Cannot install packages in a container after using yum-config-manager
Issue
- After configuring repositories with yum-config-manager, yum cannot download or install packages in a container
- Building an image from a Dockerfile results in the following
Step 5 : RUN yum update -y
---> Running in 5dabd3cd24ec
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
<Satellite or RHSM>: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux Atomic Host
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.