github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/gidmap.container.md (about)

     1  ####> This option file is used in:
     2  ####>   podman create, run
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--gidmap**=*[flags]container_uid:from_uid[:amount]*
     6  
     7  Run the container in a new user namespace using the supplied GID mapping. This
     8  option conflicts with the **--userns** and **--subgidname** options. This
     9  option provides a way to map host GIDs to container GIDs in the same way as
    10  __--uidmap__ maps host UIDs to container UIDs. For details see __--uidmap__.
    11  
    12  Note: the **--gidmap** option cannot be called in conjunction with the **--pod** option as a gidmap cannot be set on the container level when in a pod.