| Crates.io | dockerase |
| lib.rs | dockerase |
| version | 0.2.1 |
| created_at | 2025-12-29 16:57:05.893115+00 |
| updated_at | 2025-12-29 21:37:28.989443+00 |
| description | Docker cleaning utility CLI |
| homepage | |
| repository | https://github.com/alessandrostone/dockerase |
| max_upload_size | |
| id | 2010935 |
| size | 93,596 |
___ ___ __ __ _ ___ ____ ____ _____ ___
| \ / \ / ]| l/ ] / _]| \ / T/ ___/ / _]
| \ Y Y / / | ' / / [_ | D )Y o ( \_ / [_
| D Y| O | / / | \ Y _]| / | |\__ TY _]
| || |/ \_ | Y| [_ | \ | _ |/ \ || [_
| |l !\ || . || T| . Y| | |\ || T
l_____j \___/ \____jl__j\_jl_____jl__j\_jl__j__j \___jl_____j
A Docker cleaning utility CLI that helps you reclaim disk space by removing unused Docker resources and macOS system caches.
brew tap alessandrostone/tap
brew install dockerase
cargo install dockerase
git clone https://github.com/alessandrostone/dockerase.git
cd dockerase
cargo install --path .
# Show disk usage overview
dockerase
# Safely remove unused resources (dangling images, stopped containers, unused volumes)
dockerase purge
# Interactively select what to remove
dockerase select
# Remove ALL Docker resources (nuclear option)
dockerase --nuclear
# List purgeable system caches with sizes
dockerase system
# Purge all system caches
dockerase system purge
# Interactively select which caches to purge
dockerase system select
Supported caches:
| Flag | Description |
|---|---|
--force, -f |
Skip confirmation prompts |
--dry-run |
Preview what would be removed without making changes |
--nuclear |
Remove ALL Docker resources (containers, images, volumes, networks, build cache) |
# Preview what purge would remove
dockerase purge --dry-run
# Force purge without confirmation
dockerase purge --force
# Interactively select and preview
dockerase select --dry-run
# Nuclear mode with confirmation skip
dockerase --nuclear --force
# Preview system cache cleanup
dockerase system purge --dry-run
# Interactively select system caches to purge
dockerase system select
Docker Space Usage
══════════════════════════════════════════════════
┌───────────────────────────────────────┐
│ TYPE TOTAL RECLAIMABLE │
╞═══════════════════════════════════════╡
│ Images 12.5 GB 3.2 GB (8) │
│ Containers 245 MB 245 MB (5) │
│ Volumes 1.8 GB 890 MB (3) │
│ Build Cache 2.1 GB 2.1 GB │
└───────────────────────────────────────┘
Total Reclaimable: 6.4 GB
System Caches
══════════════════════════════════════════════════
│ CACHE │ SIZE │ PATH │
│ Xcode DerivedData│ 8.2 GB │ ~/Library/Developer/Xcode/... │
│ Homebrew │ 2.1 GB │ ~/Library/Caches/Homebrew │
│ npm │ 1.4 GB │ ~/.npm/_cacache │
│ Cargo Registry │ 890 MB │ ~/.cargo/registry │
│ Trash │ 342 MB │ ~/.Trash │
Total Purgeable: 12.9 GB
MIT