Replies: 2 comments 2 replies
-
There is #19437 as request to specify another uid But if you are using rootful containers you likely should be using |
Beta Was this translation helpful? Give feedback.
2 replies
-
I set ACL to avoid any files created for the root
|
Beta Was this translation helpful? Give feedback.
0 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.
-
I am trying to use
userns=auto
for better security using namespaces, but keep getting stuck to roadblocks.For instance, the Nextcloud container has the root user handle initial launch, and then www-data user manages all the data after launch.
This means any nextcloud data should be owned by www-data, not the root user. However, this quickly becomes a problem with
userns=auto
, since the user id is variable in this case. Chowning the volume (:U
) only makes the files owned by the root, sowww-data
user cannot access the files.Is podman just not suited for this kind of usecase? Currently I have resorted to
userns=keep-id
, but this has me wondering: is podman even more secure than docker in this setup?Beta Was this translation helpful? Give feedback.
All reactions