1podman-stop (1"")                                            podman-stop (1"")
2
3
4

NAME

6       podman-stop - Stop one or more containers
7
8

SYNOPSIS

10       podman stop [options] container ...
11
12

DESCRIPTION

14       Stops one or more containers.  You may use container IDs or names as
15       input. The --timeout switch allows you to specify the number of seconds
16       to wait before forcibly stopping the container after the stop command
17       is issued to the container. The default is 10 seconds. By default,
18       containers are stopped with SIGTERM and then SIGKILL after the timeout.
19       The SIGTERM default can be overridden by the image used to create the
20       container and also via command line when creating the container.
21
22

OPTIONS

24       --all, -a
25
26
27       Stop all running containers.  This does not include paused containers.
28
29
30       --latest, -l
31
32
33       Instead of providing the container name or ID, use the last created
34       container. If you use methods other than Podman to run containers such
35       as CRI-O, the last started container could be from either of those
36       methods.
37
38
39       The latest option is not supported on the remote client.
40
41
42       --timeout, --time, t
43
44
45       Timeout to wait before forcibly stopping the container
46
47

EXAMPLE

49       podman stop mywebserver
50
51
52       podman stop 860a4b235279
53
54
55       podman stop mywebserver 860a4b235279
56
57
58       podman stop --timeout 2 860a4b235279
59
60
61       podman stop -a
62
63
64       podman stop --latest
65
66

SEE ALSO

68       podman(1), podman-rm(1)
69
70

HISTORY

72       September 2018, Originally compiled by Brent Baude ⟨bbaude@redhat.com⟩
73
74
75
76                                                             podman-stop (1"")
Impressum