Red Hat Enterprise Linux 7.6 container can not receive updates when host is subscribed to Satellite

Solution In Progress - Updated -

Issue

  • Docker build using latest 7.6 rhel7 image fails
docker build .
Sending build context to Docker daemon 3.072 kB
Step 1 : FROM registry.access.redhat.com/rhel7
 ---> eb205f07ce7d
Step 2 : RUN yum -y install yum-utils && yum update -y && yum clean all && rm -rf /var/cache/yum
 ---> Running in 96a5ee193679
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
2 local certificates have been deleted.
This system is not receiving updates. You can use subscription-manager on the host to register and assign subscriptions.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
The command '/bin/sh -c yum -y install yum-utils && yum update -y && yum clean all && rm -rf /var/cache/yum' returned a non-zero code: 1

Environment

  • Red Hat Enterprise Linux 7
  • registry.access.redhat.com/rhel7:7.6-115 container image
  • registry.redhat.io/rhel7:7.6-115 container image
  • subscription-manager-1.21.10-2.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In