Installing httpd pkg on Docker guest

Latest response

I am having issue installing "httpd" pkg on docker guest. On Docker server running RHEL 7.4 and installed httpd pkg but when I try to install the same pkg on guest it says no repos or pkg found.

Any idea on how I can install httpd pkg on the guest dev-01?

Appreciate the help in advance.

[root@lidd20dcmdkr01 ~]# yum list installed | grep httpd*
http-parser.x86_64 2.7.1-5.el7_4 @rhel-7-server-rpms
httpd.x86_64 2.4.6-67.el7_4.2 @rhel-7-server-rpms
httpd-devel.x86_64 2.4.6-67.el7_4.2 @rhel-7-server-rpms
httpd-tools.x86_64 2.4.6-67.el7_4.2 @rhel-7-server-rpms
[root@lidd20dcmdkr01 ~]#

[root@dev-01 /]# yum list repos
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

[root@localhost yum.repos.d]# yum list repos Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT [root@localhost yum.repos.d]#

You would need to register the system with Red Hat customer portal, refer this Red Hat KB for instructions:https://access.redhat.com/solutions/253273

Close

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