Automatic clean-up of the outdated ExApp Docker images

未關閉
#667 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

  • #837 來自 @aliz71 —— 已關閉,未合併

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
docker, php
領域
backend, devops

研究方向

從 Nextcloud 管理員 AppAPI 設定頁面開始,檢視 Docker Engine v1.47 的 ImagePrune 端點。定義應如何表示及觸發可設定的間隔,以及可選的更新後清理,包括停用值 0。完成的標準是:過時的 ExApp 映像可以依照設定的排程進行清理,並可選擇在更新後進行清理,同時這兩個選項都顯示在指定的設定位置。

由索引模型根據 Issue 內容生成。

描述

enhancement priority: low
Describe why it is important and where it will be useful

Docker images of former versions of the ex-apps fill up the disk space.

Describe your proposed solution
  1. Implement a background task for cleaning images with a configurable time interval(measurement in days, value 0 means job is disabled, default value=7).

  2. Optional checkbox "clean images right after update", disabled by default.

Note: Options should be located here: http://nextcloud.local/index.php/settings/admin/app_api

Relevant API endpoint would be: https://docs.docker.com/reference/api/engine/version/v1.47/#tag/Image/operation/ImagePrune

Describe alternatives you've considered, if relevant

No response

Additional context

Additional related changes to be done in other repos in a separate PRs:

主要語言
PHP
星號
202
分支
30
平均合併
3 天 20 小時
30 天內合併 PR
24

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

nextcloud/app_api 的其他 Issue

查看 nextcloud/app_api 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。