Skip to content

Commit

Permalink
Merge pull request containers#13821 from eriksjolund/fix_userns_auto_…
Browse files Browse the repository at this point in the history
…docs

[CI:DOCS] Rewrite rootless --userns=auto docs
  • Loading branch information
openshift-merge-robot authored Apr 12, 2022
2 parents e5d86aa + 923d454 commit 0ebd288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/markdown/podman-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,8 @@ The `--userns=auto` flag, requires that the user name `containers` and a range o

Example: `containers:2147483647:2147483648`.

Podman allocates unique ranges of UIDs and GIDs from the `containers` subordinate user ids. The size of the ranges is based on the number of UIDs required in the image. The number of UIDs and GIDs can be overridden with the `size` option. The `auto` options currently does not work in rootless mode
Podman allocates unique ranges of UIDs and GIDs from the `containers` subordinate user ids. The size of the ranges is based on the number of UIDs required in the image. The number of UIDs and GIDs can be overridden with the `size` option.
The rootless option `--userns=keep-id` uses all the subuids and subgids of the user. Using `--userns=auto` when starting new containers will not work as long as any containers exist that were started with `--userns=keep-id`.

Valid `auto` options:

Expand Down

0 comments on commit 0ebd288

Please sign in to comment.