2

I'm trying to test out the RHEL 'minimal' atomic base images. However I can see no way to install packages on them.

If I try 'microdnf update' I get this:

bash-4.2# microdnf update
(process:10): librhsm-WARNING **: Found 0 entitlement certificates
(process:10): librhsm-WARNING **: Found 0 entitlement certificates
Nothing to do.

Subscription manager doesn't seem to exist:

bash-4.2# subscription-manager
bash: subscription-manager: command not found

How do i provide subscription to this?

5
  • What package have you tried to install with microdnf?
    – jordanm
    Dec 6, 2017 at 7:21
  • httpd for testing, but the basic "update" isn't working at all.
    – karthik101
    Dec 6, 2017 at 8:00
  • Why do you expect update to do anything?
    – jordanm
    Dec 6, 2017 at 14:23
  • Any ideas on how to provide host subscription to the container?
    – karthik101
    Dec 6, 2017 at 19:57
  • Did you see docs to indicate that is needed?
    – jordanm
    Dec 6, 2017 at 21:15

1 Answer 1

2

Seems that the atomic container inherits the subscription from the host, as explained in a comment here: https://access.redhat.com/discussions/3219221

I've tested running microdnf in the container on a RHEL host without subscriptions attached and I get:

(process:5): librhsm-WARNING **: Found 0 entitlement certificates

After registering the host and attaching it a valid subscription, the atomic-rhel container does not return the warning anymore.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .