buildah-inspect(1) General Commands Manual buildah-inspect(1)

# [NAME](#NAME)

buildah-inspect - Display information about working containers or images or manifest lists.

# [SYNOPSIS](#SYNOPSIS)

**buildah inspect** \[*options*] \[**--**] *object*

# [DESCRIPTION](#DESCRIPTION)

Prints the low-level information on Buildah object(s) (e.g. container, images, manifest lists) identified by name or ID. By default, this will render all results in a JSON array. If the container, image, or manifest lists have the same name, this will return container JSON for an unspecified type. If a format is specified, the given template will be executed for each result.

# [OPTIONS](#OPTIONS)

**--format**, **-f** *template*

Use *template* as a Go template when formatting the output.

Users of this option should be familiar with the ⟨https://golang.org/pkg/text/template/⟩ in the Go standard library, and of internals of Buildah's implementation.

**--type**, **-t** **container** | **image** | **manifest**

Specify whether *object* is a container, image or a manifest list.

# [EXAMPLE](#EXAMPLE)

buildah inspect containerID

buildah inspect --type container containerID

buildah inspect --type image imageID

buildah inspect --format '{{.OCIv1.Config.Env}}' alpine

# [SEE ALSO](#SEE_ALSO)

[buildah(1)](/man/enterprise-packages/buildah/buildah.1)

May 2017 buildah

---

Document: buildah-inspect(1) from buildah 1.46.0-r3 (Chainguard OS)
Source: https://github.com/containers/buildah
