1podman-image-rm(1)          General Commands Manual         podman-image-rm(1)
2
3
4

NAME

6       podman-image-rm (podman-rmi) - Removes one or more images
7
8

SYNOPSIS

10       podman image rm image ...
11
12
13       podman rmi image ...
14
15

DESCRIPTION

17       Removes one or more locally stored images.
18
19

OPTIONS

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              Remove multiple images by their shortened IDs.
48
49
50
51       podman rmi c4dfb1609ee2 93fd78260bd1 c0ed59d05ff7
52
53
54              Remove all images and containers.
55
56
57
58       podman rmi -a -f ```
59
60

Exit Status

62       0 if all specified images removed 1 if one of the specified images did
63       not exist, and no other failures 125 if command fails for a reason
64       other then an image did not exist
65
66

SEE ALSO

68       podman(1)
69
70

HISTORY

72       March 2017, Originally compiled by Dan Walsh ⟨dwalsh@redhat.com⟩
73
74
75
76                                                            podman-image-rm(1)
Impressum