Docker inspect

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Generates low-level metadata for a container, image or task as a JSON array. The returned data includes labels, the entrypoint, etc.

docker inspect [-f <format-spec>] <container-id>|<image-name>

Options

-f, --format

Format the output using the given go template.

-f '{{json .Mounts}}'