Files
Daniel J Walsh 1e54539432 Add support for passing container stop timeout as -1 (infinite)
Compat api for containers/stop should take -1 value

Add support for `podman stop --time -1`
Add support for `podman restart --time -1`
Add support for `podman rm --time -1`
Add support for `podman pod stop --time -1`
Add support for `podman pod rm --time -1`
Add support for `podman volume rm --time -1`
Add support for `podman network rm --time -1`

Fixes: https://github.com/containers/podman/issues/17542

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-08-04 08:36:45 -04:00

9 lines
326 B
Markdown

####> This option file is used in:
####> podman pod rm, pod stop, restart, rm, stop
####> If file is edited, make sure the changes
####> are applicable to all of those.
#### **--time**, **-t**=*seconds*
Seconds to wait before forcibly stopping <<the container|running containers within the pod>>.
Use -1 for infinite wait.