1buildah-inspect(1) General Commands Manual buildah-inspect(1)
2
3
4
6 buildah-inspect - Display information about working containers or im‐
7 ages or manifest lists.
8
9
11 buildah inspect [options] [--] object
12
13
15 Prints the low-level information on Buildah object(s) (e.g. container,
16 images, manifest lists) identified by name or ID. By default, this will
17 render all results in a JSON array. If the container, image, or mani‐
18 fest lists have the same name, this will return container JSON for an
19 unspecified type. If a format is specified, the given template will be
20 executed for each result.
21
22
24 --format, -f template
25
26
27 Use template as a Go template when formatting the output.
28
29
30 Users of this option should be familiar with the text/template package
31 ⟨https://golang.org/pkg/text/template/⟩ in the Go standard library, and
32 of internals of Buildah's implementation.
33
34
35 --type, -t container | image | manifest
36
37
38 Specify whether object is a container, image or a manifest list.
39
40
42 buildah inspect containerID
43
44
45 buildah inspect --type container containerID
46
47
48 buildah inspect --type image imageID
49
50
51 buildah inspect --format '{{.OCIv1.Config.Env}}' alpine
52
53
55 buildah(1)
56
57
58
59buildah May 2017 buildah-inspect(1)