ARTIFACTORY: Why are my docker images getting deleted?

ARTIFACTORY: Why are my docker images getting deleted?

AuthorFullName__c
DaYoun Kang
articleNumber
000005531
ft:sourceType
Salesforce
FirstPublishedDate
2022-12-29T08:09:00Z
lastModifiedDate
2023-01-22T11:10:26Z
VersionNumber
2

You might notice that your docker images are getting deleted by the system.

For example, you can see the below logs:
artifactory-access.log

2022-12-14T20:02:14.626Z [c22114f622fcbe72] [ACCEPTED DELETE] docker-local:get/my/image/tag/...for client : _system_ / .

artifactory-service.log
2022-12-14T20:02:20.801Z [jfrt ] [INFO ] [c22114f622fcbe72] [kerV2TagCleanupServiceImpl:269] [art-exec-7071       ] - Deleted docker tag docker-local:get/my/image:tag

The “_system_” user here is an internal Artifactory user used to run different Artifactory jobs such as clean up or authentication.

If this is the case, you can check whether “Max Unique Tags” is set for your docker repository.

User-added image

If “Max Unique Tags” value is set, Artifactory will delete any old tags that exceed this limit.