docker/volumes
List Docker volumes with driver, mountpoint, and the containers mounting them. Read-only; filter by glob pattern.
Instructions
Lists Docker volumes with driver, mountpoint (a host path) and the names of the containers, running or stopped, that mount each. Read-only: volumes are never created or removed here. pattern is a glob on the volume name. Text is a block per volume; output_format: json (also yaml/table/wide) returns an array of objects (name, driver, mountpoint, created, scope, labels, options, in_use_by), [] when empty. docker/prune with target volumes removes anonymous unused volumes only. For one volume's details use the docker-volume://<name>/inspect resource, for containers docker/containers. Always runs as root: no privileged argument, refused unless the grant has allowed: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Only volumes whose name matches this glob | |
| output_format | No | Use json for structured output (yaml, table and wide return the same JSON); default is text |