How do I share podman containers or container images on a single system between rootless users?
Issue
- When using
podmanon Red Hat Enterprise Linux systems, rootless users (non-root users, or users other thanroot) are using podman for containerization.- Each user is currently running
podmanseparately, but this prevents other users from being able to use and share containers and container images that belong to other users. - Users could use
sudoto use podman asrooton the host, but this is incredibly insecure and should be avoided.
- Each user is currently running
- What options are available for limiting the duplication of containers and container images using podman on Red Hat Enterprise Linux across
podman,buildah, orskopeo?
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux for Edge
- Red Hat OpenShift Container Platform 4
podmancontainer engine with supported container runtimes (crun,runcor others)buildahand/orskopeosimilarly share container storage in the same manner aspodmanand subsequently they are also affected.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.