1podman-rmi(1)()                                                podman-rmi(1)()
2
3
4

NAME

6       podman-rmi - Removes one or more locally stored images
7
8

SYNOPSIS

10       podman rmi image [...]
11
12
13       podman image rm 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 2 if one of the specified images has
64       child images or is being used by a container 125 if the  command  fails
65       for a reason other than an image did not exist or is in use
66
67

SEE ALSO

69       podman(1)
70
71

HISTORY

73       March   2017,   Originally  compiled  by  Dan  Walsh  dwalsh@redhat.com
74       ⟨mailto:dwalsh@redhat.com⟩
75
76
77
78                                                               podman-rmi(1)()
Impressum