1podman-rmi(1)() podman-rmi(1)()
2
3
4
6 podman-rmi - Removes one or more locally stored images
7
8
10 podman rmi image [...]
11
12
13 podman image rm image [...]
14
15
17 Removes one or more locally stored images.
18
19
21 --all, -a
22
23
24 Remove all images in the local storage.
25
26
27 --force, -f
28
29
30 This option will cause podman to remove all containers that are using
31 the image before removing the image from the system.
32
33
34 Remove an image by its short ID
35
36
37 $ podman rmi c0ed59d05ff7
38
39
40
41 Remove an image and its associated containers.
42
43
44 $ podman rmi --force imageID
45
46
47
48 Remove multiple images by their shortened IDs.
49
50
51 $ podman rmi c4dfb1609ee2 93fd78260bd1 c0ed59d05ff7
52
53
54
55 Remove all images and containers.
56
57
58 $ podman rmi -a -f
59
60
61
63 0 All specified images removed
64
65
66 1 One of the specified images did not exist, and no other failures
67
68
69 2 One of the specified images has child images or is being used by a
70 container
71
72
73 125 The command fails for a reason other than an image did not exist or
74 is in use
75
76
78 podman(1)
79
80
82 March 2017, Originally compiled by Dan Walsh dwalsh@redhat.com
83 ⟨mailto:dwalsh@redhat.com⟩
84
85
86
87 podman-rmi(1)()