yum install not working in Docker container

Latest response

yum install not working in Docker container

[root@dev-01 /]# yum list available http*
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
Error: No matching Packages to list

[root@dev-01 /]# yum repolist
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
repolist: 0
[root@dev-01 /]#

Responses

Hi Mike,

You don't have repositories available to install from. Do you have any repositories defined in /etc/yum.repos.d?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.