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