"Fossies" - the Fresh Open Source Software Archive

Member "buildah-1.27.2/docs/buildah-inspect.1.md" (20 Sep 2022, 1232 Bytes) of package /linux/misc/buildah-1.27.2.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

buildah-inspect "1" "May 2017" "buildah"


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


buildah inspect [options] [--] object


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.


--format, -f template

Use template as a Go template when formatting the output.

Users of this option should be familiar with the text/template package 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.


buildah inspect containerID

buildah inspect --type container containerID

buildah inspect --type image imageID

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