Man pages: refactor common options: --pod

Only between podman-create and -run; the other meanings
of --pod are too different. This almost didn't feel worth
refactoring, except the podman-run version fixed a word
and added a possibly important note about infra containers.
I went with the podman-run version.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2022-10-04 11:22:06 -06:00
parent 84c85f4d94
commit 3451aac35e
3 changed files with 7 additions and 9 deletions

View File

@ -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.

View File

@ -276,10 +276,7 @@ This option conflicts with **--add-host**.
@@option platform @@option platform
#### **--pod**=*name* @@option pod.run
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-id-file.container @@option pod-id-file.container

View File

@ -302,11 +302,7 @@ This is used to override the Podman provided user setup in favor of entrypoint c
@@option platform @@option platform
#### **--pod**=*name* @@option pod.run
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-id-file.container @@option pod-id-file.container