-
Notifications
You must be signed in to change notification settings - Fork 10
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
Added edit /etc/subgid section #199
base: main
Are you sure you want to change the base?
Conversation
For user with PID 65534 (typically the nobody user), the entry would look something like: | ||
|
||
``` | ||
nobody:100000:65536 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, I am not sure about this. I have a vague recollection that the user that needs to be changed is the current user, the id inside the container is irrelevant here. Can you validate?
Save the file and ensure changes are recognized by restarting your container service: | ||
|
||
```bash | ||
sudo systemctl restart podman |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually required?
@AtibQur Can you confirm this has been validated as working? |
@alexp-sssup for some reason I keep getting Error: cannot setup namespace using newuidmap: exit status 1. This happens when I'm using: podman run --rm -it --userns=keep-id alpine to start a podman container with user namespace even though uidmap is already installed on my system. |
I have never seen this error and I think |
@alexp-sssup I've been testing changes to /etc/subgid while running podman containers to see how group IDs are mapped. The changes are working as expected for /etc/subgid. |
We know there are practical problems required GID mapping for Debian, but we don't know any real world problems with UIDs. To avoid confusing people it's better not to talk about things that are not needed. |
No description provided.