Hey everyone!
I've just released PruneMate V2.0.0 :)
For those who haven't seen it before, PruneMate is a small, self-hosted web app that automatically cleans up unused Docker images, stopped containers, networks, volumes, and build cache.
You choose what gets cleaned up, when it runs, and can preview what would be removed before running a manual cleanup.
It uses Docker's own prune commands under the hood, so always double-check what you're removing, especially when it comes to volumes.
This is a small project I've been working on in my spare time. I'm not trying to replace existing Docker management tools, just provide something useful for people who prefer a simpler setup.
I know some of you will probably find a tool like this unnecessary, especially if you're already using a Docker management tool that handles cleanup for you. And that's completely fair!
PruneMate is mainly aimed at people who manage Docker through the CLI, Docker Compose, Dockge, or similar setups, and just want a simple way to automate cleanup without having to write scripts or cron jobs themselves.
What's new in V2?
Security improvements
V1 had a few security issues I wanted to address, including a fixed session secret and notification tokens appearing in logs.
V2 fixes those and adds:
- Random session secrets, CSRF protection, login lockout, and session expiration.
- Notification tokens and webhook URLs are now masked in logs and never exposed to the browser.
- A hardened Docker Compose setup with docker-socket-proxy, a read-only filesystem, and restricted privileges.
- Optional API key protection and mutual TLS for remote Docker hosts.
New dashboard & cleanup history
- See when the next cleanup is scheduled.
- Track how much disk space you've reclaimed.
- View cleanup history and a chart of the last 30 runs.
- See results for individual Docker hosts.
- Existing V1 cleanup history is imported automatically on first startup.
Safer cleanup
- Protect resources using the
prunemate.keep label. - Set a minimum resource age before anything can be removed.
- Volume cleanup now comes with additional warnings and requires typing
DELETE for manual runs. - More accurate previews for network and build cache cleanup.
Other improvements
- Built-in log viewer with filtering.
- Redesigned, mobile-friendly UI without full page reloads.
- Better handling of unsaved settings and configuration errors.
Upgrading from V1.4.0
If you're already using PruneMate, upgrading is as simple as running :
"docker compose pull && docker compose up -d"
Your existing settings, hosts, statistics, and login credentials are preserved.
You'll need to log in again after upgrading, and resources with the "prunemate.keep" label are now protected by default.
I also recommend rotating your existing Telegram/Discord tokens if you've used notifications in V1.
Links