Phase 18: image prune (dangling/unused), local + agent (0.24.0)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
menzelj
2026-06-09 11:30:10 +00:00
co-authored by Claude Opus 4.8
parent d46a6c3576
commit 34c5fffa85
6 changed files with 128 additions and 7 deletions
+5
View File
@@ -499,6 +499,11 @@ async def image_check() -> dict:
return await update_service.check_all()
@app.post("/agent/images/prune", dependencies=[Depends(verify_token)])
def image_prune(all_unused: bool = Query(False, alias="all")) -> dict:
return image_service.prune_images(all_unused)
# --------------------------------------------------------------------------- #
# Volumes
# --------------------------------------------------------------------------- #