How do I attach subscription data to containers running in Docker not provided by Red Hat?
Issue
- Docker or Podman, as provided by Red Hat on Red Hat Enterprise Linux 7 or 8, automatically mounts host subscription data into containers as a secret via the /run/secrets directory.
- Docker as provided by other vendors, or any Docker package not provided by Red Hat, may not provide methods for automatically attaching subscription data.
- What manual steps can be taken to automatically attach host entitlement data directly into containers running non-Red Hat container solutions?
Environment
- Non-Red Hat container solution such as Docker-CE or Docker-EE
- Non-Red Hat Kubernetes solutions
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat provided base images such as
registry.redhat.io/rhel7
orregistry.redhat.io/ubi8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.