container inspect

Display detailed information on one or more containers

Options

NameTypeDefaultDescription
-f, --formatstringFormat output using a custom template:
‘json’: Print in JSON format
‘TEMPLATE’: Print output using the given Go template.
Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
-s, --sizeDisplay total file sizes