mirror of
https://github.com/containers/podman.git
synced 2025-10-11 16:26:00 +08:00

Stop all running containers with single switch. Useful for maintainence of a system or integration tests. Signed-off-by: baude <bbaude@redhat.com> Closes: #90 Approved by: rhatdan
44 lines
915 B
Markdown
44 lines
915 B
Markdown
% kpod(1) kpod-stop - Stop one or more containers
|
|
% Brent Baude
|
|
# kpod-stop "1" "September 2017" "kpod"
|
|
|
|
## NAME
|
|
kpod stop - Stop one or more containers
|
|
|
|
## SYNOPSIS
|
|
**kpod stop [OPTIONS] CONTAINER [...]**
|
|
|
|
## DESCRIPTION
|
|
Stops one or more containers. You may use container IDs or names as input. The **--timeout** switch
|
|
allows you to specify the number of seconds to wait before forcibly stopping the container after the stop command
|
|
is issued to the container. The default is 10 seconds.
|
|
|
|
## OPTIONS
|
|
|
|
**--timeout, t**
|
|
|
|
Timeout to wait before forcibly stopping the container
|
|
|
|
**--all, -a**
|
|
|
|
Stop all running containers. This does not include paused containers.
|
|
|
|
|
|
## EXAMPLE
|
|
|
|
kpod stop mywebserver
|
|
|
|
kpod stop 860a4b23
|
|
|
|
kpod stop mywebserver 860a4b23
|
|
|
|
kpod stop --timeout 2 860a4b23
|
|
|
|
kpod stop -a
|
|
|
|
## SEE ALSO
|
|
kpod(1), kpod-rm(1)
|
|
|
|
## HISTORY
|
|
September 2018, Originally compiled by Brent Baude <bbaude@redhat.com>
|