Reputation: 11
We are doing an artifactory cleanup, removing Docker images from our docker repo. I understand from the article over https://jfrog.com/knowledge-base/how-can-i-delete-docker-images-older-than-a-certain-time-period
that if a layer is shared between two different images, and if only one is a candidate for deletion, then that layer will not be deleted from the binary storage.
Our policy is on deleting some specific tag versions (that are not used in production) and now we have some queries based on the above article
Upvotes: 0
Views: 3533
Reputation: 915
You are correct, if the layer is referenced by another tag, then it will not be deleted. The worst that can happen is that you will leave a tag behind that points to a non-existent image.
Upvotes: 0