PruneMate

PruneMate is a lightweight, self-hosted web app that keeps Docker hosts tidy by cleaning up unused resources on a schedule.

  • Infrastructure
  • Tools & Utilities
PruneMate is a lightweight, self-hosted web app that keeps Docker hosts tidy by cleaning up unused resources on a schedule. It removes old images, stopped containers, unused networks, volumes and build cache, with a preview mode before anything is deleted, protection rules for important resources, run history, and notifications when cleanup completes. It's aimed at homelab and self-hosting users who want their Docker hosts kept clean automatically rather than by hand, and it runs on both amd64 and arm64, including Raspberry Pi and Apple Silicon. Note that it uses Docker's own prune commands, so removed resources are gone for good — be especially careful with volumes, which can contain databases.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

60/100 Good

Maintained
75last commit 12 days ago
Popular
53467 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
75no serious findings

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
467
Open issues
12
Last commit
2026-11-21
Latest release
V2.0.0
License
AGPL-3.0
Activity
rising

Checked yesterday - source: GitHub (anoniemerd/PruneMate)

Resources & Compatibility

Requirements not published yet.

Checked yesterday - source: Docker Hub image tags and published docs

First-install notes

  • First-run safety check PruneMate uses Docker's own prune commands, so removed resources are permanently deleted. Preview what will be removed before enabling a schedule, and be especially careful with volumes, which can contain databases. See the installation guide for setup (Docker SDK, Flask, APScheduler, Gunicorn under the hood; amd64 and arm64 images available). source

Fetched yesterday - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How do I enable login authentication for PruneMate?

Generate a password hash using the command shown in the compose file comment, then uncomment and set the PRUNEMATE_AUTH_USER and PRUNEMATE_AUTH_PASSWORD_HASH environment variables. Login includes brute-force/lockout protection and is optional but recommended.

Why does the recommended setup include a docker-socket-proxy?

The proxy only allows through the specific Docker functions PruneMate needs, so the app never gets full control over your Docker host. It also pairs with hardening like a read-only filesystem, no capabilities, and no-new-privileges.

Can PruneMate clean up Docker hosts other than the one it runs on?

Yes, it supports multiple hosts—you can clean up other Docker machines from the same interface, configured via PRUNEMATE_DOCKER_HOST (e.g. pointing at tcp://socket-proxy:2375).

How can I protect specific containers or volumes from being deleted?

Add the prunemate.keep label to a resource to skip it, or set a protection rule to skip anything younger than a number of hours. For manual runs, volumes are only deleted after you type DELETE in the preview.

What port does PruneMate use?

The container listens internally on 8080 and is published on host port 7676 by default, which you can change in your compose file.

Will PruneMate delete my database volumes?

It can—PruneMate uses Docker's own prune commands and removed resources are gone for good, so be especially careful with volumes since they can contain databases. Use the preview mode and protection rules before enabling a schedule.

Answers sourced from github.com, prunemate.org, prunemate.org, wiki.serversatho.me

Community

Collected yesterday - public community threads