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