diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-24 14:55:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 14:55:05 -0400 |
commit | 6f4a6011d310bd831b9669058d018a5e5d282b7e (patch) | |
tree | b2d4208fa3f6eca400e0f1b0897c0db4cd5c0ca6 /docs/source | |
parent | 46bfd3d0cfa1d5ec0c14fb3ed04f2857e2264512 (diff) | |
parent | 2fed2a2829a796307a58ead516ed8dea97a4a4d1 (diff) | |
download | podman-6f4a6011d310bd831b9669058d018a5e5d282b7e.tar.gz podman-6f4a6011d310bd831b9669058d018a5e5d282b7e.tar.bz2 podman-6f4a6011d310bd831b9669058d018a5e5d282b7e.zip |
Merge pull request #15458 from edsantiago/docs_dedup_pid
[CI:DOCS] Man pages: refactor common options: --pid
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/options/pid.md | 9 | ||||
-rw-r--r-- | docs/source/markdown/podman-create.1.md.in | 9 | ||||
-rw-r--r-- | docs/source/markdown/podman-run.1.md.in | 10 |
3 files changed, 11 insertions, 17 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). diff --git a/docs/source/markdown/podman-create.1.md.in b/docs/source/markdown/podman-create.1.md.in index f002418c5..4dbc75551 100644 --- a/docs/source/markdown/podman-create.1.md.in +++ b/docs/source/markdown/podman-create.1.md.in @@ -437,14 +437,7 @@ Unless overridden, subsequent lookups of the same image in the local storage wil @@option personality -#### **--pid**=*pid* - -Set the PID mode for the container -Default is to create a private PID namespace for the container -- `container:<name|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`: join the specified PID namespace -- `private`: create a new namespace for the container (default) +@@option pid @@option pidfile diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in index a5a8ac6c5..c7985d7e1 100644 --- a/docs/source/markdown/podman-run.1.md.in +++ b/docs/source/markdown/podman-run.1.md.in @@ -458,15 +458,7 @@ This is used to override the Podman provided user setup in favor of entrypoint c @@option personality -#### **--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; -- **private**: create a new namespace for the container (default) -- **ns:**_path_: join the specified PID namespace. +@@option pid @@option pidfile |