External mount binds? #18220
Unanswered
francoism90
asked this question in
Q&A
Replies: 1 comment 8 replies
-
All of the content in /mnt/storage/media would need to be owned/writable by the user_namespace of the user account running the podman.service. You could remove the :z and just do. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to keep my
docker-compose.yml
as follows:In Docker this works for me (incl. SELinux), and the container is able to access
/data
:I think this is because Docker runs as
root
and now I'm Podman inrootless
mode. This results in permission denied inside the container (system_u:object_r:unlabeled_t
vssystem_u:object_r:container_file_t
).Any workarounds? I would prefer not to change the path in the
volumes
path, as this will be pushed to git.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions