ARTIFACTORY: How does Docker orphan layers cleanup work

ARTIFACTORY: How does Docker orphan layers cleanup work

AuthorFullName__c
Sai Undurthi
articleNumber
000005550
ft:sourceType
Salesforce
FirstPublishedDate
2023-01-13T07:45:39Z
lastModifiedDate
2023-01-22T11:10:43Z
VersionNumber
2

When you override the docker manifest.json (e.g. push a tag that already exists in the same path), then the redundant layers that exist become "orphans". “Orphan” layers have no reference in the manifest.json file of the docker image present in the docker repository in Artifactory.
 These layers will be cleaned by the DockerTagOrphanLayerCleanupJob, which runs every 90 seconds by default (artifactory.docker.tags.orphan.layer.cleanup.intervalSecs=90), with a quiet period of 300 seconds (artifactory.docker.tags.orphan.layer.cleanup.quietPeriodSecs=300).

To apply the above mentioned system properties please update them in the following file. A restart is required to apply the changes:

$JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties

SaaS customers reach out to support for any changes to the above properties.