mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00
Merge pull request #17207 from danishprakash/add-systemd-shm-size
add support for limiting tmpfs size for systemd-specific mnts
This commit is contained in:
10
docs/source/markdown/options/shm-size-systemd.md
Normal file
10
docs/source/markdown/options/shm-size-systemd.md
Normal file
@ -0,0 +1,10 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, pod clone, pod create, run
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--shm-size-systemd**=*number[unit]*
|
||||
|
||||
Size of systemd-specific tmpfs mounts such as /run, /run/lock, /var/log/journal and /tmp.
|
||||
A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
|
||||
If the unit is omitted, the system uses bytes. If the size is omitted, the default is **64m**.
|
||||
When _size_ is **0**, the usage is limited to 50% of the host's available memory.
|
@ -328,6 +328,8 @@ Automatically remove the container when it exits. The default is *false*.
|
||||
|
||||
@@option shm-size
|
||||
|
||||
@@option shm-size-systemd
|
||||
|
||||
@@option stop-signal
|
||||
|
||||
@@option stop-timeout
|
||||
|
@ -71,6 +71,8 @@ Set a custom name for the cloned pod. The default if not specified is of the syn
|
||||
|
||||
@@option shm-size
|
||||
|
||||
@@option shm-size-systemd
|
||||
|
||||
#### **--start**
|
||||
|
||||
When set to true, this flag starts the newly created pod after the
|
||||
|
@ -157,6 +157,8 @@ Note: This options conflict with **--share=cgroup** since that would set the pod
|
||||
|
||||
@@option shm-size
|
||||
|
||||
@@option shm-size-systemd
|
||||
|
||||
@@option subgidname
|
||||
|
||||
@@option subuidname
|
||||
|
@ -358,6 +358,8 @@ container is using it. The default is *false*.
|
||||
|
||||
@@option shm-size
|
||||
|
||||
@@option shm-size-systemd
|
||||
|
||||
@@option sig-proxy
|
||||
|
||||
The default is **true**.
|
||||
|
Reference in New Issue
Block a user