1podman-images(1) General Commands Manual podman-images(1)
2
3
4
6 podman-images - List images in local storage
7
8
10 podman images [options]
11
12
14 Displays locally stored images, their names, and their IDs.
15
16
18 --all, -a
19
20
21 Show all images (by default filter out the intermediate image layers).
22 The default is false.
23
24
25 --digests
26
27
28 Show image digests
29
30
31 --filter, -f=[]
32
33
34 Filter output based on conditions provided (default [])
35
36
37 --format
38
39
40 Change the default output format. This can be of a supported type like
41 'json' or a Go template.
42
43
44 --noheading, -n
45
46
47 Omit the table headings from the listing of images.
48
49
50 --no-trunc, --notruncate
51
52
53 Do not truncate output.
54
55
56 --quiet, -q
57
58
59 Lists only the image IDs.
60
61
62 --sort
63
64
65 Sort by created, id, repository, size or tag (default: created)
66
67
69 # podman images
70 REPOSITORY TAG IMAGE ID CREATED SIZE
71 docker.io/kubernetes/pause latest e3d42bcaf643 3 years ago 251 kB
72 <none> <none> ebb91b73692b 4 weeks ago 27.2 MB
73 docker.io/library/ubuntu latest 4526339ae51c 6 weeks ago 126 MB
74
75
76
77 # podman images --quiet
78 e3d42bcaf643
79 ebb91b73692b
80 4526339ae51c
81
82
83
84 # podman images --noheading
85 docker.io/kubernetes/pause latest e3d42bcaf643 3 years ago 251 kB
86 <none> <none> ebb91b73692b 4 weeks ago 27.2 MB
87 docker.io/library/ubuntu latest 4526339ae51c 6 weeks ago 126 MB
88
89
90
91 # podman images --no-trunc
92 REPOSITORY TAG IMAGE ID CREATED SIZE
93 docker.io/kubernetes/pause latest sha256:e3d42bcaf643097dd1bb0385658ae8cbe100a80f773555c44690d22c25d16b27 3 years ago 251 kB
94 <none> <none> sha256:ebb91b73692bd27890685846412ae338d13552165eacf7fcd5f139bfa9c2d6d9 4 weeks ago 27.2 MB
95 docker.io/library/ubuntu latest sha256:4526339ae51c3cdc97956a7a961c193c39dfc6bd9733b0d762a36c6881b5583a 6 weeks ago 126 MB
96
97
98
99 # podman images --format "table {{.ID}} {{.Repository}} {{.Tag}}"
100 IMAGE ID REPOSITORY TAG
101 e3d42bcaf643 docker.io/kubernetes/pause latest
102 ebb91b73692b <none> <none>
103 4526339ae51c docker.io/library/ubuntu latest
104
105
106
107 # podman images --filter dangling=true
108 REPOSITORY TAG IMAGE ID CREATED SIZE
109 <none> <none> ebb91b73692b 4 weeks ago 27.2 MB
110
111
112
113 # podman images --format json
114 [
115 {
116 "id": "e3d42bcaf643097dd1bb0385658ae8cbe100a80f773555c44690d22c25d16b27",
117 "names": [
118 "docker.io/kubernetes/pause:latest"
119 ],
120 "digest": "sha256:0aecf73ff86844324847883f2e916d3f6984c5fae3c2f23e91d66f549fe7d423",
121 "created": "2014-07-19T07:02:32.267701596Z",
122 "size": 250665
123 },
124 {
125 "id": "ebb91b73692bd27890685846412ae338d13552165eacf7fcd5f139bfa9c2d6d9",
126 "names": [
127 "\u003cnone\u003e"
128 ],
129 "digest": "sha256:ba7e4091d27e8114a205003ca6a768905c3395d961624a2c78873d9526461032",
130 "created": "2017-10-26T03:07:22.796184288Z",
131 "size": 27170520
132 },
133 {
134 "id": "4526339ae51c3cdc97956a7a961c193c39dfc6bd9733b0d762a36c6881b5583a",
135 "names": [
136 "docker.io/library/ubuntu:latest"
137 ],
138 "digest": "sha256:193f7734ddd68e0fb24ba9af8c2b673aecb0227b026871f8e932dab45add7753",
139 "created": "2017-10-10T20:59:05.10196344Z",
140 "size": 126085200
141 }
142 ]
143
144
145
146 # podman images --sort repository
147 REPOSITORY TAG IMAGE ID CREATED SIZE
148 <none> <none> 2460217d76fc About a minute ago 4.41 MB
149 docker.io/library/alpine latest 3fd9065eaf02 5 months ago 4.41 MB
150 localhost/myapp latest b2e0ad03474a About a minute ago 4.41 MB
151 registry.access.redhat.com/rhel7 latest 7a840db7f020 2 weeks ago 211 MB
152 registry.fedoraproject.org/fedora 27 801894bc0e43 6 weeks ago 246 MB
153
154
155
156 # podman images
157 REPOSITORY TAG IMAGE ID CREATED SIZE
158 localhost/test latest 18f0c080cd72 4 seconds ago 4.42 MB
159 docker.io/library/alpine latest 3fd9065eaf02 5 months ago 4.41 MB
160 # podman images -a
161 REPOSITORY TAG IMAGE ID CREATED SIZE
162 localhost/test latest 18f0c080cd72 6 seconds ago 4.42 MB
163 <none> <none> 270e70dc54c0 7 seconds ago 4.42 MB
164 <none> <none> 4ed6fbe43414 8 seconds ago 4.41 MB
165 <none> <none> 6b0df8e71508 8 seconds ago 4.41 MB
166 docker.io/library/alpine latest 3fd9065eaf02 5 months ago 4.41 MB
167
168
169
171 podman(1)
172
173
175 March 2017, Originally compiled by Dan Walsh ⟨dwalsh@redhat.com⟩
176
177
178
179 podman-images(1)