mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
podman pod create --shm-size
expose the --shm-size flag to podman pod create and add proper handling and inheritance for the option. resolves #14609 Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
@ -124,6 +124,12 @@ Note: Labeling can be disabled for all pods/containers by setting label=false in
|
||||
|
||||
Note: Labeling can be disabled for all containers by setting label=false in the **containers.conf** (`/etc/containers/containers.conf` or `$HOME/.config/containers/containers.conf`) file.
|
||||
|
||||
#### **--shm-size**=*size*
|
||||
|
||||
Size of `/dev/shm` (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
If the unit is omitted, the system uses bytes. If the size is omitted, the system uses `64m`.
|
||||
When size is `0`, there is no limit on the amount of memory used for IPC by the pod. This option conflicts with **--ipc=host** when running containers.
|
||||
|
||||
#### **--start**
|
||||
|
||||
When set to true, this flag starts the newly created pod after the
|
||||
|
@ -298,6 +298,12 @@ This boolean determines whether or not all containers entering the pod will use
|
||||
|
||||
Note: This options conflict with **--share=cgroup** since that would set the pod as the cgroup parent but enter the container into the same cgroupNS as the infra container.
|
||||
|
||||
#### **--shm-size**=*size*
|
||||
|
||||
Size of `/dev/shm` (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
If the unit is omitted, the system uses bytes. If the size is omitted, the system uses `64m`.
|
||||
When size is `0`, there is no limit on the amount of memory used for IPC by the pod. This option conflicts with **--ipc=host** when running containers.
|
||||
|
||||
#### **--subgidname**=*name*
|
||||
|
||||
Name for GID map from the `/etc/subgid` file. Using this flag will run the container with user namespace enabled. This flag conflicts with `--userns` and `--gidmap`.
|
||||
@ -306,6 +312,7 @@ Name for GID map from the `/etc/subgid` file. Using this flag will run the conta
|
||||
|
||||
Name for UID map from the `/etc/subuid` file. Using this flag will run the container with user namespace enabled. This flag conflicts with `--userns` and `--uidmap`.
|
||||
|
||||
|
||||
#### **--sysctl**=_name_=_value_
|
||||
|
||||
Configure namespace kernel parameters for all containers in the pod.
|
||||
|
Reference in New Issue
Block a user