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 <sergioller@gmail.com>
This commit is contained in:
Sergio Oller
2023-08-30 13:47:23 +02:00
parent e73e585f5d
commit 18d35b6122

View File

@ -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`