mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Merge pull request #16717 from umohnani8/detach
play kube: Add --wait option
This commit is contained in:
@ -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`
|
||||
|
Reference in New Issue
Block a user