aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/options
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-24 09:16:37 -0600
committerEd Santiago <santiago@redhat.com>2022-08-24 11:48:43 -0600
commit2fed2a2829a796307a58ead516ed8dea97a4a4d1 (patch)
tree615504f4c1aef9a9bc53861590802a39d4a627f8 /docs/source/markdown/options
parent361eb42619b2bccaf4fa7bb342dee779f72a512d (diff)
downloadpodman-2fed2a2829a796307a58ead516ed8dea97a4a4d1.tar.gz
podman-2fed2a2829a796307a58ead516ed8dea97a4a4d1.tar.bz2
podman-2fed2a2829a796307a58ead516ed8dea97a4a4d1.zip
Man pages: refactor common options: --pid
I chose the one from podman-run, but reordered ns/private to put them in alphabetical order. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r--docs/source/markdown/options/pid.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/markdown/options/pid.md b/docs/source/markdown/options/pid.md
new file mode 100644
index 000000000..d0cbef1d5
--- /dev/null
+++ b/docs/source/markdown/options/pid.md
@@ -0,0 +1,9 @@
+#### **--pid**=*mode*
+
+Set the PID namespace mode for the container.
+The default is to create a private PID namespace for the container.
+
+- **container:**_id_: join another container's PID namespace;
+- **host**: use the host's PID namespace for the container. Note the host mode gives the container full access to local PID and is therefore considered insecure;
+- **ns:**_path_: join the specified PID namespace;
+- **private**: create a new namespace for the container (default).