Added
Automatic image cleanup
A new opt-in setting that runs docker image prune after every successful auto-update, reclaiming disk space without manual intervention.
- Env var:
AUTO_CLEANUP=true(defaultfalse) - Web UI: new "🧹 Auto cleanup" toggle on the Settings page
The same 24h age filter (until=24h) used by the manual Cleanup button applies — brand-new pulls and rollback candidates stay safe.
Requested by @hypnosis4u2nv in #2.
Clearer maintenance descriptions
The text under the manual Cleanup / Self-Update buttons on the Settings page now explicitly tells you:
- which actions are manual-only by default
- which env vars / toggles enable the automatic counterparts
Changed
- Cleanup logic moved to a single
UpdateChecker.cleanup_images()helper, used by the Telegram/cleanupcommand, the Web UI button, and the new scheduler auto-path. No more duplicated subprocess calls.
Upgrade
docker pull amayer1983/docksentry:latest
docker compose up -dTo enable auto-cleanup, either:
- add
AUTO_CLEANUP=trueto your environment, or - toggle "🧹 Auto cleanup" on in Settings in the Web UI (persists across restarts).