docker_prune
Remove stopped containers, dangling images, unused networks, and build cache to reclaim disk space. Requires confirmation; can also delete anonymous volumes when enabled.
Instructions
Reclaim space by removing stopped containers, dangling images, unused
networks and build cache (docker system prune -f). Set volumes=True to
also drop anonymous volumes (DELETES their data). Requires confirm=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| volumes | No |