docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 879 forks source link

Unable to find image after pushing to private registry #946

Closed ngpestelos closed 9 years ago

ngpestelos commented 9 years ago

We've been noticing cases where an image previously pushed to a private registry goes missing (i.e., docker pull reports Unable to find image). A workaround would be to push to the private registry again before pulling.

Has anyone else encountered this problem?

dmp42 commented 9 years ago

Nope... In such cases, have you checked the storage? is the image still physically there?

ngpestelos commented 9 years ago

I would like to take a closer look, but I'm not familiar with how docker-registry stores its images. Can you tell me which directory to look for?

dmp42 commented 9 years ago

It's in your storage_path configuration var. Probably under /registry/

ngpestelos commented 9 years ago

We're using local storage in one of our machines and it's setup to use /tmp/registry. My theory is that the images are flushed when the machine is rebooted.

Thank you very much :+1: