1podman-image-inspect(1)()                            podman-image-inspect(1)()
2
3
4

NAME

6       podman-image-inspect - Display an image's configuration
7
8

SYNOPSIS

10       podman image inspect [options] image [image ...]
11
12

DESCRIPTION

14       This displays the low-level information on images identified by name or
15       ID. By default, this will render all results in a  JSON  array.   If  a
16       format  is  specified, the given template will be executed for each re‐
17       sult.
18
19

OPTIONS

21   --format, -f=format
22       Format the output using the given Go template.  The  keys  of  the  re‐
23       turned  JSON can be used as the values for the --format flag (see exam‐
24       ples below).
25
26

EXAMPLE

28              $ podman image inspect fedora
29              [
30                  {
31                      "Id": "37e5619f4a8ca9dbc4d6c0ae7890625674a10dbcfb76201399e2aaddb40da17d",
32                      "Digest": "sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a",
33                      "RepoTags": [
34                          "registry.fedoraproject.org/fedora:latest"
35                      ],
36                      "RepoDigests": [
37                          "registry.fedoraproject.org/fedora@sha256:1b0d4ddd99b1a8c8a80e885aafe6034c95f266da44ead992aab388e6aa91611a",
38                          "registry.fedoraproject.org/fedora@sha256:b5290db40008aae9272ad3a6bd8070ef7ecd547c3bef014b894c327960acc582"
39                      ],
40                      "Parent": "",
41                      "Comment": "Created by Image Factory",
42                      "Created": "2021-08-09T05:48:47Z",
43                      "Config": {
44                          "Env": [
45                              "DISTTAG=f34container",
46                              "FGC=f34",
47                              "container=oci"
48                          ],
49                          "Cmd": [
50                              "/bin/bash"
51                          ],
52                          "Labels": {
53                              "license": "MIT",
54                              "name": "fedora",
55                              "vendor": "Fedora Project",
56                              "version": "34"
57                          }
58                      },
59                      "Version": "1.10.1",
60                      "Author": "",
61                      "Architecture": "amd64",
62                      "Os": "linux",
63                      "Size": 183852302,
64                      "VirtualSize": 183852302,
65                      "GraphDriver": {
66                          "Name": "overlay",
67                          "Data": {
68                              "UpperDir": "/home/dwalsh/.local/share/containers/storage/overlay/0203e243f1ca4b6bb49371ecd21363212467ec6d7d3fa9f324cd4e78cc6b5fa2/diff",
69                              "WorkDir": "/home/dwalsh/.local/share/containers/storage/overlay/0203e243f1ca4b6bb49371ecd21363212467ec6d7d3fa9f324cd4e78cc6b5fa2/work"
70                          }
71                      },
72                      "RootFS": {
73                          "Type": "layers",
74                          "Layers": [
75                              "sha256:0203e243f1ca4b6bb49371ecd21363212467ec6d7d3fa9f324cd4e78cc6b5fa2"
76                          ]
77                      },
78                      "Labels": {
79                          "license": "MIT",
80                          "name": "fedora",
81                          "vendor": "Fedora Project",
82                          "version": "34"
83                      },
84                      "Annotations": {},
85                      "ManifestType": "application/vnd.docker.distribution.manifest.v2+json",
86                      "User": "",
87                      "History": [
88                          {
89                              "created": "2021-08-09T05:48:47Z",
90                              "comment": "Created by Image Factory"
91                          }
92                      ],
93                      "NamesHistory": [
94                          "registry.fedoraproject.org/fedora:latest"
95                      ]
96                  }
97              ]
98
99
100
101              $ podman image inspect --format '{{ .Id }}' fedora
102              37e5619f4a8ca9dbc4d6c0ae7890625674a10dbcfb76201399e2aaddb40da17d
103
104
105

SEE ALSO

107       podman(1),podman-image(1), podman-inspect(1)
108
109

HISTORY

111       Sep  2021,  Originally  compiled   by   Dan   Walsh   dwalsh@redhat.com
112       ⟨mailto:dwalsh@redhat.com⟩
113
114
115
116                                                     podman-image-inspect(1)()
Impressum