mirror of
https://github.com/containers/podman.git
synced 2025-08-26 11:33:07 +08:00

QM needs to be able to specify the maximum number of open files within the QM environment to ensure FFI. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
21 lines
717 B
Markdown
21 lines
717 B
Markdown
####> This option file is used in:
|
|
####> podman create, run
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
#### **--ulimit**=*option*
|
|
|
|
Ulimit options. Sets the ulimits values inside of the container.
|
|
|
|
--ulimit with a soft and hard limit in the format <type>=<soft limit>[:<hard limit>]. For example:
|
|
|
|
$ podman run --ulimit nofile=1024:1024 --rm ubi9 ulimit -n
|
|
1024
|
|
|
|
Use **host** to copy the current configuration from the host.
|
|
|
|
Don't use nproc with the ulimit flag as Linux uses nproc to set the
|
|
maximum number of processes available to a user, not to a container.
|
|
|
|
Use the --pids-limit option to modify the cgroup control to limit the number
|
|
of processes within a container.
|