Back to Docker

docker compose volumes

_vendor/github.com/docker/compose/v5/docs/reference/compose_volumes.md

18.09-release2.4 KB
Original Source

docker compose volumes

<!---MARKER_GEN_START-->

List volumes

Options

NameTypeDefaultDescription
--dry-runboolExecute command in dry run mode
--formatstringtableFormat 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, --quietboolOnly display volume names
<!---MARKER_GEN_END-->