Skip to content

v1.12.1 — Automatic image cleanup

Choose a tag to compare

@amayer1983 amayer1983 released this 05 May 12:20
· 66 commits to main since this release

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 (default false)
  • 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 /cleanup command, the Web UI button, and the new scheduler auto-path. No more duplicated subprocess calls.

Upgrade

docker pull amayer1983/docksentry:latest
docker compose up -d

To enable auto-cleanup, either:

  • add AUTO_CLEANUP=true to your environment, or
  • toggle "🧹 Auto cleanup" on in Settings in the Web UI (persists across restarts).