docker volume inspect

Estimated reading time: 1 minute

Description

Display detailed information on one or more volumes

Usage

docker volume inspect [OPTIONS] VOLUME [VOLUME...]

Options

Name, shorthand Default Description
--format, -f   Format the output using the given Go template

Parent command

Command Description
docker volume Manage volumes
Command Description
docker volume create Create a volume
docker volume inspect Display detailed information on one or more volumes
docker volume ls List volumes
docker volume prune Remove all unused volumes
docker volume rm Remove one or more volumes

Extended description

Returns information about one or more volumes. By default, this command renders all results in a JSON array. You can specify an alternate format to execute a given template is executed for each result. Go’s https://golang.org/pkg/text/template/ package describes all the details of the format.

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: