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?

Yes And in my root account net-tools is working fine but in docker OS it Failed