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

     1  ####> This option file is used in:
     2  ####>   podman create, run, update
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--cpus**=*number*
     6  
     7  Number of CPUs. The default is *0.0* which means no limit. This is shorthand
     8  for **--cpu-period** and **--cpu-quota**, therefore the option cannot be specified with
     9  **--cpu-period** or **--cpu-quota**.
    10  
    11  On some systems, changing the CPU limits may not be allowed for non-root
    12  users. For more details, see
    13  https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error
    14  
    15  This option is not supported on cgroups V1 rootless systems.