From 18d35b612219b638f3144bfee4a3b8685f599dd8 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Wed, 30 Aug 2023 13:47:23 +0200 Subject: [PATCH] Fix gidmap command in example Since we do not want the mapping to be applied to uids, we should use the `g` flag in the mapping in the example as well. Follow up of #18173 Signed-off-by: Sergio Oller --- docs/source/markdown/options/uidmap.container.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/markdown/options/uidmap.container.md b/docs/source/markdown/options/uidmap.container.md index 8f9ef7afcc..24a3a6615c 100644 --- a/docs/source/markdown/options/uidmap.container.md +++ b/docs/source/markdown/options/uidmap.container.md @@ -183,7 +183,7 @@ process in the container will belong to group `100000`, and files belonging to group `2000` in the host will appear as being owned by group `100000` inside the container. - podman run --group-add=keep-groups --gidmap="+100000:@2000" ... + podman run --group-add=keep-groups --gidmap="+g100000:@2000" ... `No subordinate UIDs`