How to Mount Volume in Podman Container with SELinux Enabled
Issue
- When attempting to mount a host volume into a Podman container on a system where SELinux is enabled, the container may fail to start, or access to the volume may be denied due to SELinux policy restrictions.
Environment
- Red Hat Enterprise Linux 7 / 8 / 9 / 10
- Podman
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.