Merge pull request #16717 from umohnani8/detach

play kube: Add --wait option
This commit is contained in:
OpenShift Merge Robot
2023-03-01 16:46:54 +01:00
committed by GitHub
13 changed files with 244 additions and 62 deletions

View File

@ -205,6 +205,18 @@ Start the pod after creating it, set to false to only create it.
@@option userns.container
#### **--wait**, **-w**
Run pods and containers in the foreground. Default is false.
At any time you can run `podman pod ps` in the other shell to view a list of
the running pods and containers.
When attached in the tty mode, you can kill the pods and containers by pressing
Ctrl-C or receiving any other interrupt signals.
Volumes created with `podman kube play` will be removed when `--wait=true`.
## EXAMPLES
Recreate the pod and containers as described in a file called `demo.yml`