mirror of https://github.com/containers/podman.git
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:
parent
84c85f4d94
commit
3451aac35e
|
@ -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.
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue