diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-13 16:44:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 16:44:52 +0100 |
commit | ab7228b3c27719e447de4dffe9b3fd7f67d6f346 (patch) | |
tree | 281392e18e84d47b859554b0bd612ea5db431e98 /docs/source/markdown | |
parent | e98058a3cf4f5ba4cd2d37dfdb2a0951b9aa9730 (diff) | |
parent | f257d983943d6ec2253d50a245cd4810cab45e4b (diff) | |
download | podman-ab7228b3c27719e447de4dffe9b3fd7f67d6f346.tar.gz podman-ab7228b3c27719e447de4dffe9b3fd7f67d6f346.tar.bz2 podman-ab7228b3c27719e447de4dffe9b3fd7f67d6f346.zip |
Merge pull request #12836 from cdoern/podSysCtl
Podman Pod Create --sysctl support
Diffstat (limited to 'docs/source/markdown')
-rw-r--r-- | docs/source/markdown/podman-pod-create.1.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-pod-create.1.md b/docs/source/markdown/podman-pod-create.1.md index b2e16e051..c9255d37f 100644 --- a/docs/source/markdown/podman-pod-create.1.md +++ b/docs/source/markdown/podman-pod-create.1.md @@ -276,6 +276,28 @@ podman generates a UUID for each pod, and if a name is not assigned to the container with **--name** then a random string name will be generated for it. The name is useful any place you need to identify a pod. +#### **--sysctl**=_name_=_value_ + +Configure namespace kernel parameters for all containers in the pod. + +For the IPC namespace, the following sysctls are allowed: + +- kernel.msgmax +- kernel.msgmnb +- kernel.msgmni +- kernel.sem +- kernel.shmall +- kernel.shmmax +- kernel.shmmni +- kernel.shm_rmid_forced +- Sysctls beginning with fs.mqueue.\* + +Note: if the ipc namespace is not shared within the pod, these sysctls are not allowed. + +For the network namespace, only sysctls beginning with net.\* are allowed. + +Note: if the network namespace is not shared within the pod, these sysctls are not allowed. + #### **--userns**=*mode* Set the user namespace mode for all the containers in a pod. It defaults to the **PODMAN_USERNS** environment variable. An empty value ("") means user namespaces are disabled. |