Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sph
2y ago
0 comments
Save
Share
The only times I had issues with SELinux and podman, it was because I forgot to add the z flag to the volume:
podman run -v .:/app:z image
This only happens locally as files in your home have strict security rules, never had any issue on a CentOS server.
0 comments
1 comments · 1 top-level
top
newest
oldest
PhilippGille
2y ago
Note there's also uppercase Z, for when the volume shouldn't be shared with other containers:
https://unix.stackexchange.com/questions/651198/podman-volum...
j
/
k
navigate · click thread line to collapse