atomic base image subscription
I'm trying to test out the '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
..nor do the 'atomic' commands:
bash-4.2# atomic
bash: atomic: command not found
If I try what the documentation suggests that doesn't work either:
bash-4.2# microdnf install httpd --enablerepo=rhel-7-server-rpms && \
> microdnf update; microdnf clean all
(process:14): librhsm-WARNING **: Found 0 entitlement certificates
(process:14): librhsm-WARNING **: Found 0 entitlement certificates
error: (--enablerepo) repo rhel-7-server-rpms not found
(process:16): librhsm-WARNING **: Found 0 entitlement certificates
(process:16): librhsm-WARNING **: Found 0 entitlement certificates
I have a developer subscription/account - how is one to go about using these images?
Responses
Some follow up from me: after receiving proper support from RH regarding (basically) the same issue with their RHEL image (container not automatically importing entitlements when running docker), it turns out the problem was Docker EE. Docker does have instructions that are specific for RH on their website, but .... don't use those. Just install docker from the RH repositories (yum -y install docker), and THAT version of docker does have the entitlement-injection patches built in. I don't have time to test this with atomic, but likely is the same problem.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
