aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-10-05 16:13:48 +0200
committerGitHub <noreply@github.com>2022-10-05 16:13:48 +0200
commitcc609e52bdb641a8c1b1d9c183cac12db142da61 (patch)
tree9df8d2b48fbc8a81550c7e0a3393d2ba22e43a02
parentab2f3cf54db1944257dce8a38c26757e5a3d79a4 (diff)
parent3451aac35e949018cda0e999a4a161b44486faa9 (diff)
downloadpodman-cc609e52bdb641a8c1b1d9c183cac12db142da61.tar.gz
podman-cc609e52bdb641a8c1b1d9c183cac12db142da61.tar.bz2
podman-cc609e52bdb641a8c1b1d9c183cac12db142da61.zip
Merge pull request #16055 from edsantiago/docs_dedup_pod
[CI:DOCS] Man pages: refactor common options: --pod
-rw-r--r--docs/source/markdown/options/pod.run.md5
-rw-r--r--docs/source/markdown/podman-create.1.md.in5
-rw-r--r--docs/source/markdown/podman-run.1.md.in6
3 files changed, 7 insertions, 9 deletions
diff --git a/docs/source/markdown/options/pod.run.md b/docs/source/markdown/options/pod.run.md
new file mode 100644
index 000000000..6ba3c718b
--- /dev/null
+++ b/docs/source/markdown/options/pod.run.md
@@ -0,0 +1,5 @@
+#### **--pod**=*name*
+
+Run container in an existing pod. If you want Podman to make the pod for you, prefix the pod name with **new:**.
+To make a pod with more granular options, use the **podman pod create** command before creating a container.
+If a container is run with a pod, and the pod has an infra-container, the infra-container will be started before the container is.
diff --git a/docs/source/markdown/podman-create.1.md.in b/docs/source/markdown/podman-create.1.md.in
index 92bcce94b..b7f621866 100644
--- a/docs/source/markdown/podman-create.1.md.in
+++ b/docs/source/markdown/podman-create.1.md.in
@@ -276,10 +276,7 @@ This option conflicts with **--add-host**.
@@option platform
-#### **--pod**=*name*
-
-Run container in an existing pod. If you want Podman to make the pod for you, preference the pod name with `new:`.
-To make a pod with more granular options, use the `podman pod create` command before creating a container.
+@@option pod.run
@@option pod-id-file.container
diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in
index 692c218ad..d596ee902 100644
--- a/docs/source/markdown/podman-run.1.md.in
+++ b/docs/source/markdown/podman-run.1.md.in
@@ -302,11 +302,7 @@ This is used to override the Podman provided user setup in favor of entrypoint c
@@option platform
-#### **--pod**=*name*
-
-Run container in an existing pod. If you want Podman to make the pod for you, prefix the pod name with **new:**.
-To make a pod with more granular options, use the **podman pod create** command before creating a container.
-If a container is run with a pod, and the pod has an infra-container, the infra-container will be started before the container is.
+@@option pod.run
@@option pod-id-file.container