DOCKER(1) Docker User Manuals DOCKER(1)

# [NAME](#NAME)

docker-container-inspect - Display detailed information on one or more containers

# [SYNOPSIS](#SYNOPSIS)

**docker container inspect \[OPTIONS] CONTAINER \[CONTAINER...]**

# [DESCRIPTION](#DESCRIPTION)

Display detailed information on one or more containers

# [OPTIONS](#OPTIONS)

**-f**, **--format**="" Format 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**, **--size**\[=false] Display total file sizes

# [SEE ALSO](#SEE_ALSO)

[**docker-container(1)**](/man/os/docker-cli/docker-container.1)

Oct 2026 Docker Community

---

Document: docker-container-inspect(1) from docker-cli 29.9.0-r0 (Chainguard OS)
Source: https://github.com/docker/cli
