Docker Containers has no repos if host is registered with Red Hat Satellite 5.x
Issue
- We have
Satellite 5.6in house, theDocker serverisRHEL 7.3and registered with ourSatellite server, we are building our container image byDockerfilebut failed on building image with error message as There are no enabled repos - How can I patch docker images provided by
Red Hat, on theRHEL containerswhen running on aRHEL 7host which is subscribed to channels on a localRed Hat Satellite 5.7server gives message as:
[root@host01 ~]# docker run -it rhel /bin/bash
[root@ca6f91e12345 /]#
# yum repolist
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repolist: 0
Environment
- Red Hat Enterprise Linux 7.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
