# docker volume ls: List Volumes & Find Dangling

> How docker volume ls works: listing volumes, filtering dangling ones, formatting, and spotting volume disk bloat in CI.

Source: https://latchkey.dev/learn/command-reference/docker-volume-ls-command  
Updated: 2026-06-25

List volumes - including the dangling ones eating disk.

docker volume ls lists volumes known to the daemon. This page covers filtering for dangling volumes, which accumulate on CI runners.

## What it does

docker volume ls shows the driver and name of each volume. Anonymous volumes created by containers persist after the container is gone unless removed, so this is how you find orphaned ones.

## Common usage

```Terminal
docker volume ls
docker volume ls --filter "dangling=true"
docker volume ls --format "{{.Name}}"
docker volume ls --filter "label=ci=true"
```

## Common errors in CI

volume ls is read-only and does not error normally. The CI insight: anonymous volumes from each docker run (with VOLUME in the image) pile up and consume disk; list dangling ones with --filter "dangling=true" and clear them with docker volume prune. Run containers with --rm -v to drop their anonymous volumes on exit.

## FAQ

### docker volume ls: List Volumes & Find Dangling?

docker volume ls lists volumes known to the daemon. This page covers filtering for dangling volumes, which accumulate on CI runners.

### What it does?

docker volume ls shows the driver and name of each volume. Anonymous volumes created by containers persist after the container is gone unless removed, so this is how you find orphaned ones.

### Common errors in CI?

volume ls is read-only and does not error normally. The CI insight: anonymous volumes from each docker run (with VOLUME in the image) pile up and consume disk; list dangling ones with --filter "dangling=true" and clear them with docker volume prune. Run containers with --rm -v to drop their anonymous volumes on exit.

---

Latchkey runs CI/CD that repairs its own failures. Agent entry points: https://latchkey.dev/agent.txt, https://latchkey.dev/openapi.json, https://latchkey.dev/llms.txt
