-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
userns_size has no effect #16562
Comments
Your right, it does not look like it is used within the code. We allocate user based on the minimum number of UIDs needed for the image * 2, I believe. @giuseppe Did you plan on using this field, or should it just be removed? |
I was not aware we had that setting. It was added as part of containers/common@bd0a08c but it was never plugged into Podman |
after looking at it, I think it is better to drop it and allow customizations through the
Even if we maintain |
Podman and Buildah do not use this field, and I know of no users of it, remove it from docs and the default conf file, so users will not expect it to do anything. Leaving implementation in the slight chance someone has used it in a non containers project. Fixes: containers/podman#16562 Signed-off-by: Daniel J Walsh <[email protected]>
I think we should just remove the documentation of it, so I opened a PR. |
Podman and Buildah do not use this field, and I know of no users of it, remove it from docs and the default conf file, so users will not expect it to do anything. Leaving implementation in the slight chance someone has used it in a non containers project. Fixes: containers/podman#16562 Signed-off-by: Daniel J Walsh <[email protected]>
Podman and Buildah do not use this field, and I know of no users of it, remove it from docs and the default conf file, so users will not expect it to do anything. Leaving implementation in the slight chance someone has used it in a non containers project. Fixes: containers/podman#16562 Signed-off-by: Daniel J Walsh <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Setting
userns_size
in containers.conf has no effect.Steps to reproduce the issue:
/etc/containers/containers.conf
:podman run --rm -it alpine cat /proc/self/uid_map
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
podman run --rm -it --userns auto:size=65536 alpine cat /proc/self/uid_map
works, but I need this to be applied automatically.
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: