buildah-inspect man page

buildah inspect — Display information about working containers or images.

Synopsis

buildah inspect [options [...] --] ID

Description

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

Options

--format template
Use template as a Go template when formatting the output.

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

--type container | image
Specify whether the ID is that of a container or an image.

Example

buildah inspect containerID

buildah inspect --type container containerID

buildah inspect --type image imageID

See Also

buildah(1)

Referenced By

buildah(1).

May 2017 buildah