Skip to content

Commit

Permalink
[CI:DOCS] troubleshooting: fix subuid example
Browse files Browse the repository at this point in the history
Fix incorrect number of required subuids in subuid example.

Fixes: #18400

Signed-off-by: Erik Sjölund <[email protected]>
  • Loading branch information
eriksjolund committed May 1, 2023
1 parent adf9fd4 commit 24be46a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ You should ensure that each user has a unique range of UIDs, because overlapping
would potentially allow one user to attack another user. In addition, make sure
that the range of UIDs you allocate can cover all UIDs that the container
requires. For example, if the container has a user with UID 10000, ensure you
have at least 10001 subuids, and if the container needs to be run as a user with
UID 1000000, ensure you have at least 1000001 subuids.
have at least 10000 subuids, and if the container needs to be run as a user with
UID 1000000, ensure you have at least 1000000 subuids.

You could also use the `usermod` program to assign UIDs to a user.

Expand Down

0 comments on commit 24be46a

Please sign in to comment.