Open 0xDEC0DE opened 1 year ago
Disabling caching on the registry server will also make it behave correctly. This can be achieved by setting storage.cache.blobdescriptor
to an "invalid" value in the configs, e.g.:
docker-registry:
configData:
storage:
cache:
blobdescriptor: disabled
Facing same issue.
Can confirm, workaround works.
Prerequisites
kubectl
skopeo
persistence.deleteEnabled = true
andgarbageCollect.enabled = true
Steps to reproduce
Setup
Test
Expected result
Success
Actual behavior
It fails, claiming layers already exist, etc.
Workaround
Restarting the registry after garbage-collection makes it work as expected: