diff --git a/docs/administration/garbage-collection/_index.md b/docs/administration/garbage-collection/_index.md index b48e96531..d8d796ab4 100644 --- a/docs/administration/garbage-collection/_index.md +++ b/docs/administration/garbage-collection/_index.md @@ -13,6 +13,7 @@ When you delete images from Harbor, space is not automatically freed up. You mus ![Garbage collection](../../img/garbage-collection.png) +1. To delete untagged artifacts, select the check box **Delete Untagged Artifacts**. 1. To run garbage collection immediately, click **GC Now**. When you run garbage collection, Harbor goes into read-only mode. All modifications to the registry are prohibited. @@ -32,6 +33,8 @@ To avoid triggering the garbage collection process too frequently, the availabil * **Daily**: Run garbage collection at midnight every day. * **Weekly**: Run garbage collection at midnight every Saturday. * **Custom**: Run garbage collection according to a `cron` job. + +1. To delete untagged artifacts, select the check box **Delete Untagged Artifacts**. 1. Click **Save**. 1. Select the **History** tab to view records of the 10 most recent garbage collection runs. diff --git a/docs/img/garbage-collection.png b/docs/img/garbage-collection.png index a8aad2aa5..3fae281bf 100644 Binary files a/docs/img/garbage-collection.png and b/docs/img/garbage-collection.png differ diff --git a/docs/img/gc-policy.png b/docs/img/gc-policy.png index 15829a84d..7a9e8c5d4 100644 Binary files a/docs/img/gc-policy.png and b/docs/img/gc-policy.png differ