-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simpler uidmap options for podman #244
Comments
Yes, I am sometimes apprehensive of picking up niceties introduced in newer Podman versions because it can make it harder to bisect regressions in Podman with a newer Toolbox - the usual pain of tracking things across multiple Git repositories. Anyway, I see that Do you already have a patch tucked away somewhere? :) |
This let's podman do the calculations for mapping our host UID into the user namespace within the container. See cfcf4eb for original context. Fixes containers#244
This lets podman do the calculations for mapping our host UID into the user namespace within the container. See cfcf4eb for original context. Fixes containers#244
#252 :) |
This lets podman do the calculations for mapping the host UID into the user namespace within the container. See cfcf4eb for original context. The '--userns=keep-id' option was introduced in Podman 1.4.0, which is old enough to be in even RHEL 7. https://github.com/debarshiray/toolbox/issues/244
In cfcf4eb you did some nice investigatory work in tracking down how to call
--uidmap
properly to map the users id outside the container to the same id inside rootless podman container. I think we can achieve the same goal now withpodman --userns=keep-id
. At least it seems to be the case in my testing if I remove the--uidmap
options and replace with--userns=keep-id
:Do you agree?
The text was updated successfully, but these errors were encountered: