Skip to content
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

doc/idmap: Clarify subuid/subgid configuration #1353

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion doc/userns-idmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kernels but will refuse to start containers.
## Allowed ranges

On most hosts, Incus will check `/etc/subuid` and `/etc/subgid` for
allocations for the `incus` user and on first start, set the default
allocations for the `root` user and on first start, set the default
profile to use the first 65536 UIDs and GIDs from that range.

If the range is shorter than 65536 (which includes no range at all),
Expand Down Expand Up @@ -91,3 +91,7 @@ host, and the third entry is the range inside the container. These ranges must
be the same size.

This property requires a container reboot to take effect.

Remember that you may need to add an entry for the `root` user into
`/etc/subid` and/or `/etc/subgid` so the container is allowed to make
use of it.
Loading