From b563c6d1a1df48dd32911c7171744191940aff45 Mon Sep 17 00:00:00 2001 From: Roman Vynar Date: Tue, 10 Jul 2018 16:55:50 +0300 Subject: [PATCH] Add note about deleting tags. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1ae63cd..f01152f 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,12 @@ You can create a table manually if you don't want to grant `CREATE` permission: ### Schedule a cron task for purging tags +To delete tags you need to enable the corresponding option in Docker Registry config. For example: + + storage: + delete: + enabled: true + The following example shows how to run a cron task to purge tags older than X days but also keep at least Y tags no matter how old. Assuming container has been already running.