mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
Man pages: refactor common options: --time
Only in container/pod stop/rm/restart man pages; the others (volume-rm, network-rm, system-service) are too different to refactor. Mostly an easy one, no manual reconciliation needed apart from the pod-vs-container difference. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
1
docs/source/markdown/.gitignore
vendored
1
docs/source/markdown/.gitignore
vendored
@ -26,6 +26,7 @@ podman-pod-stats.1.md
|
||||
podman-pod-stop.1.md
|
||||
podman-pull.1.md
|
||||
podman-push.1.md
|
||||
podman-restart.1.md
|
||||
podman-rm.1.md
|
||||
podman-run.1.md
|
||||
podman-search.1.md
|
||||
|
3
docs/source/markdown/options/time.md
Normal file
3
docs/source/markdown/options/time.md
Normal file
@ -0,0 +1,3 @@
|
||||
#### **--time**, **-t**=*seconds*
|
||||
|
||||
Seconds to wait before forcibly stopping <<the container|running containers within the pod>>.
|
@ -27,9 +27,9 @@ Instead of providing the pod name or ID, remove the last created pod. (This opti
|
||||
|
||||
@@option pod-id-file.pod
|
||||
|
||||
#### **--time**, **-t**=*seconds*
|
||||
@@option time
|
||||
|
||||
Seconds to wait before forcibly stopping running containers within the pod. The --force option must be specified to use the --time option.
|
||||
The --force option must be specified to use the --time option.
|
||||
|
||||
## EXAMPLE
|
||||
|
||||
|
@ -23,9 +23,7 @@ Instead of providing the pod name or ID, stop the last created pod. (This option
|
||||
|
||||
@@option pod-id-file.pod
|
||||
|
||||
#### **--time**, **-t**=*seconds*
|
||||
|
||||
Seconds to wait before forcibly stopping the containers in the pod.
|
||||
@@option time
|
||||
|
||||
## EXAMPLE
|
||||
|
||||
|
@ -56,9 +56,7 @@ to run containers such as CRI-O, the last started container could be from either
|
||||
|
||||
Restart all containers that are already in the *running* state.
|
||||
|
||||
#### **--time**, **-t**=*seconds*
|
||||
|
||||
Seconds to wait before forcibly stopping the container.
|
||||
@@option time
|
||||
|
||||
## EXAMPLES
|
||||
|
@ -63,9 +63,9 @@ whose OCI runtime has become unavailable.
|
||||
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
||||
to run containers such as CRI-O, the last started container could be from either of those methods. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
|
||||
|
||||
#### **--time**, **-t**=*seconds*
|
||||
@@option time
|
||||
|
||||
Seconds to wait before forcibly stopping the container. The --force option must be specified to use the --time option.
|
||||
The --force option must be specified to use the --time option.
|
||||
|
||||
#### **--volumes**, **-v**
|
||||
|
||||
|
@ -54,9 +54,7 @@ Valid filters are listed below:
|
||||
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
||||
to run containers such as CRI-O, the last started container could be from either of those methods. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
|
||||
|
||||
#### **--time**, **-t**=*seconds*
|
||||
|
||||
Seconds to wait before forcibly stopping the container
|
||||
@@option time
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
|
Reference in New Issue
Block a user