You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used script command to record my execution, here is the record.
I can see ./data/docker/registry/v2/repositories/lib/nginx/_manifests/, what weird is no blob infomation are found after re-pushing, and the size of data dir is only 200~350kb. I'm pretty sure i re-pushed the image.
This issue remains also in 2.6.2, and I see no commit in master after 55ea440 that seems to be related to this bug. So my take is that this is not fixed.
Activity
m-masataka commentedon May 16, 2017
@bluven I can't reproduce your issue.
Can you find the manifests directory
./data/docker/registry/v2/repositories/lib/nginx/_manifests/?bluven commentedon Jun 9, 2017
@m-masataka Sorry, almost forgot this issue.
I used script command to record my execution, here is the record.
I can see ./data/docker/registry/v2/repositories/lib/nginx/_manifests/, what weird is no blob infomation are found after re-pushing, and the size of data dir is only 200~350kb. I'm pretty sure i re-pushed the image.
Cannot figure out what happened.
m-masataka commentedon Jun 15, 2017
@bluven
I think this problem is caused by API cache.
I reproduced your issue by following command.
In the registry logs. We get
response 200, when we call blobs that registry doesn't have.This is not correct behavior.
I think this is caused by golang API cache function.
And you can delete this cache by restart the registry.
Now this behavior repaired in master branch.
bluven commentedon Jul 12, 2017
@m-masataka Which release? I tried registry:2.6.1, still failed.
vidarl commentedon Sep 13, 2017
This issue remains also in 2.6.2, and I see no commit in master after 55ea440 that seems to be related to this bug. So my take is that this is not fixed.
vidarl commentedon Sep 14, 2017
Correction. Fixing this bug is scheduled for 2.7.0
But you have to use redis as cache backend
#2094 (comment)
I would say this issue is a duplicate of #2094
vladkras commentedon Dec 29, 2017
it is
restarting registry
docker restart <registry_container>and pushing image with same tag again helped
also I missed one tag before I came to this issue but I don't know how to reproduce it