Add note about deleting tags.

This commit is contained in:
Roman Vynar 2018-07-10 16:55:50 +03:00
parent 9597890b67
commit b563c6d1a1

View File

@ -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 ### 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 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. at least Y tags no matter how old. Assuming container has been already running.