# chadoe/docker-cleanup-volumes

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/chadoe-docker-cleanup-volumes).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

1,437 stars · 195 forks · Shell · MIT

## Links

- GitHub: https://github.com/chadoe/docker-cleanup-volumes
- Homepage: https://registry.hub.docker.com/u/martin/docker-cleanup-volumes/
- awesome-repositories: https://awesome-repositories.com/repository/chadoe-docker-cleanup-volumes.md

## Description

Docker cleanup volumes is a containerized system maintenance tool and shell script designed to scan host systems and delete unused Docker storage volumes. It reclaims disk space by identifying leftover data assets that are no longer attached to any active containers. 

The utility inspects container-graph dependencies to distinguish between active and orphaned storage items. It supports dry-run preview execution to simulate cleanup operations and review target volumes before any actual data deletion occurs. The software can be executed directly as a command-line shell script or run as a containerized maintenance task by mounting the local host daemon socket and storage directories.

## Tags

### Data & Databases

- [Volume Deletions](https://awesome-repositories.com/f/data-databases/persistent-storage-volumes/named-volume-lifecycles/volume-deletions.md) — Deletes unused storage volumes that are no longer attached to any active containers to reclaim disk space. ([source](https://github.com/chadoe/docker-cleanup-volumes/blob/master/README.md))
- [Orphaned Volume Cleanups](https://awesome-repositories.com/f/data-databases/persistent-storage-volumes/named-volume-lifecycles/orphaned-volume-cleanups.md) — Deletes unused Docker volumes that are no longer attached to active containers to reclaim disk space. ([source](https://github.com/chadoe/docker-cleanup-volumes#readme))

### DevOps & Infrastructure

- [Containerized Task Execution](https://awesome-repositories.com/f/devops-infrastructure/container-deployment/containerized-task-execution.md) — Executes routine cleanup tasks inside an isolated container environment. ([source](https://github.com/chadoe/docker-cleanup-volumes/blob/master/README.md))
- [Dangling Volume Cleanup](https://awesome-repositories.com/f/devops-infrastructure/container-garbage-collection/automated-garbage-collection/network-resource-garbage-collections/dangling-volume-cleanup.md) — Scans the host to delete unused Docker volumes and reclaim disk space from orphaned data.
- [Volume Management](https://awesome-repositories.com/f/devops-infrastructure/volume-management.md) — Cleans up unused and orphaned Docker storage volumes across a system to free up valuable disk space.
- [Daemon Socket Mounts](https://awesome-repositories.com/f/devops-infrastructure/container-daemons/client-server-daemon-architectures/unix-domain-socket-ipc/daemon-unix-socket-communication/daemon-socket-sharing/daemon-socket-mounts.md) — Runs maintenance tasks inside an isolated container by mounting the local host daemon socket.

### System Administration & Monitoring

- [Container Resource Inspections](https://awesome-repositories.com/f/system-administration-monitoring/container-resource-inspections.md) — Inspects container configuration metadata to identify which volumes are actively attached versus orphaned.
- [Containerized Storage Maintenance Tools](https://awesome-repositories.com/f/system-administration-monitoring/containerized-storage-maintenance-tools.md) — Runs inside an isolated container to manage host storage through mounted daemon sockets.
- [Deletion Previews](https://awesome-repositories.com/f/system-administration-monitoring/deletion-previews.md) — Simulates volume deletion runs to list targeted data assets before permanent removal. ([source](https://github.com/chadoe/docker-cleanup-volumes#readme))

### Part of an Awesome List

- [Container Maintenance](https://awesome-repositories.com/f/awesome-lists/devops/container-maintenance.md) — Automates system maintenance routines inside containers to keep host storage organized and lean.

### Development Tools & Productivity

- [Storage Reclamation Utilities](https://awesome-repositories.com/f/development-tools-productivity/disk-space-management/storage-reclamation-utilities.md) — Scans system storage to identify and purge leftover Docker assets and reclaim disk space.
- [Dry Run Simulations](https://awesome-repositories.com/f/development-tools-productivity/dry-run-simulations.md) — Simulates cleanup operations to preview targeted storage items without making any actual changes.
