How to use idmap bind mounts? All experiments are failing #22535
Unanswered
johnson-earls
asked this question in
Q&A
Replies: 1 comment
-
I created an issue regarding the error
For me it worked when I passed the option |
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
-
I am running podman version 4.9.4 as root:
I need to mount a host directory into the container (using
type=bind
), but need to remap the UIDs of the files from 0 to 1000.According to the documentation, the
idmap
option for--mount
withtype=bind
takes atrue
orfalse
option:So I tried this, but it failed:
Trying with the
idmap
format from the documented option fortype=volume
runs, but does not do the id mapping:How should this work?
Beta Was this translation helpful? Give feedback.
All reactions