github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/cgroupns.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  #### **--cgroupns**=*mode*
     6  
     7  Set the cgroup namespace mode for the container.
     8  
     9  - **host**: use the host's cgroup namespace inside the container.
    10  - **container:**_id_: join the namespace of the specified container.
    11  - **private**: create a new cgroup namespace.
    12  - **ns:**_path_: join the namespace at the specified path.
    13  
    14  If the host uses cgroups v1, the default is set to **host**. On cgroups v2, the default is **private**.