From 24be46a5171d782609b829d45a2371287864d6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Sj=C3=B6lund?= Date: Mon, 1 May 2023 15:26:35 +0200 Subject: [PATCH] [CI:DOCS] troubleshooting: fix subuid example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix incorrect number of required subuids in subuid example. Fixes: https://github.com/containers/podman/issues/18400 Signed-off-by: Erik Sjölund --- troubleshooting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/troubleshooting.md b/troubleshooting.md index 2454abab51..047c1647ae 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -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.