Scroll to navigation

DOCKER-COMPOSE-VOLUMES(1) DOCKER-COMPOSE-VOLUMES(1)

NAME

docker-compose-volumes - List volumes

SYNOPSIS

docker compose volumes [OPTIONS] [SERVICE...]

DESCRIPTION

List volumes

OPTIONS

--format="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

-h, --help[=false] help for volumes

-q, --quiet[=false] Only display volume names

OPTIONS INHERITED FROM PARENT COMMANDS

--dry-run[=false] Execute command in dry run mode

SEE ALSO

docker-compose(1)

Apr 2026