summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-pod-create.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-02 11:53:30 -0400
committerGitHub <noreply@github.com>2022-05-02 11:53:30 -0400
commitc3d871a3f6cc7a94c5e86782ba63e05cd1d2faeb (patch)
tree589ce895fa6ab9ab7a605ea5016307d9915c74a2 /docs/source/markdown/podman-pod-create.1.md
parentadf6ee671ff8111b3b1d1819a65fcc05e44589ef (diff)
parent4eff0c8cf284a6007122aec731e4d97059750166 (diff)
downloadpodman-c3d871a3f6cc7a94c5e86782ba63e05cd1d2faeb.tar.gz
podman-c3d871a3f6cc7a94c5e86782ba63e05cd1d2faeb.tar.bz2
podman-c3d871a3f6cc7a94c5e86782ba63e05cd1d2faeb.zip
Merge pull request #13859 from vrothberg/fix-13464
pod: add exit policies
Diffstat (limited to 'docs/source/markdown/podman-pod-create.1.md')
-rw-r--r--docs/source/markdown/podman-pod-create.1.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-pod-create.1.md b/docs/source/markdown/podman-pod-create.1.md
index 714909b98..fa431b611 100644
--- a/docs/source/markdown/podman-pod-create.1.md
+++ b/docs/source/markdown/podman-pod-create.1.md
@@ -75,6 +75,15 @@ Set custom DNS options in the /etc/resolv.conf file that will be shared between
Set custom DNS search domains in the /etc/resolv.conf file that will be shared between all containers in the pod.
+#### **--exit-policy**=**continue** | *stop*
+
+Set the exit policy of the pod when the last container exits. Supported policies are:
+
+| Exit Policy | Description |
+| ------------------ | --------------------------------------------------------------------------- |
+| *continue* | The pod continues running when the last container exits. Used by default. |
+| *stop* | The pod is stopped when the last container exits. Used in `play kube`. |
+
#### **--gidmap**=*container_gid:host_gid:amount*
GID map for the user namespace. Using this flag will run the container with user namespace enabled. It conflicts with the `--userns` and `--subgidname` flags.
@@ -554,7 +563,7 @@ $ podman pod create --network net1:ip=10.89.1.5 --network net2:ip=10.89.10.10
```
## SEE ALSO
-**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **containers.conf(1)**
+**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **[podman-play-kube(1)](podman-play-kube.1.md)**, **containers.conf(1)**
## HISTORY