github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/group-add.md (about) 1 ####> This option file is used in: 2 ####> podman build, create, farm build, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--group-add**=*group* | *keep-groups* 6 7 Assign additional groups to the primary user running within the container process. 8 9 - `keep-groups` is a special flag that tells Podman to keep the supplementary group access. 10 11 Allows container to use the user's supplementary group access. If file systems or 12 devices are only accessible by the rootless user's group, this flag tells the OCI 13 runtime to pass the group access into the container. Currently only available 14 with the `crun` OCI runtime. Note: `keep-groups` is exclusive, other groups cannot be specified 15 with this flag. (Not available for remote commands, including Mac and Windows (excluding WSL2) machines)