compose/docs/reference/compose_volumes.md

2.4 KiB

docker compose volumes

List volumes

Options

Name Type Default Description
--dry-run bool Execute command in dry run mode
--format string table Format output using a custom template:
'table': Print output in table format with column headers (default)
'table TEMPLATE': Print output in table format using the given Go 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
-q, --quiet bool Only display volume names