# chadoe/docker-cleanup-volumes

Shellscript to delete orphaned docker volumes

Repository: https://github.com/chadoe/docker-cleanup-volumes
Canonical: https://ross.abutalabs.com/products/docker-cleanup-volumes
Homepage: https://registry.hub.docker.com/u/martin/docker-cleanup-volumes/
Language: Shell
License: MIT
License Family: permissive
Last push: 2024-11-03T19:16:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4379, "days_push": 668, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1436, forks 195 (observed 2026-08-28T04:04:43.690687+00:00)

## What it is
A shell script that deletes orphaned Docker volumes from /var/lib/docker/volumes and /var/lib/docker/vfs/dir. It can run standalone or as a Docker container and supports a --dry-run mode for safe testing.

## Use cases
- clean up orphaned docker volumes
- reclaim disk space used by dangling docker volumes
- delete unused volumes from /var/lib/docker/volumes
- run volume cleanup inside a docker container
- preview which docker volumes would be deleted with dry-run

## When to choose
- you run Docker 1.4.x to 1.13.x and want an automated volume cleanup script
- you want to run cleanup as a container mounting the docker socket and /var/lib/docker
- you need verbose or dry-run output before deleting volumes

## When to avoid
- you use Docker 1.9+ where built-in 'docker volume prune' covers the same need
- you run Docker via boot2docker or docker machine from a Mac
- you have unbacked-up volumes or custom files in /var/lib/docker/volumes

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, cli, file-system
- domain: developer-tools
- platform: cli
- tags: docker, docker-volumes, cleanup, shell-script, disk-space, devops, containers, linux

## Member repositories
- chadoe/docker-cleanup-volumes (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.690687+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:47.024279+00:00, confidence not recorded.
  - readme: https://github.com/chadoe/docker-cleanup-volumes (fetched 2026-08-28T04:04:43.690687+00:00, sha 4de9ffb88a47)
- Data as of 2026-08-30T08:39:29.467469+00:00.
