3 ms·
I wasn't able to get this working, but I was able to use Google's mirror[0] just fine. Just had to change FROM {image_name} to FROM mirror.gcr.io/{i
by firloop 1y ago
I wasn't able to get this working, but I was able to use Google's mirror[0] just fine.
Just had to change
FROM {image_name}
to
FROM mirror.gcr.io/{image_name}
Hope this helps!
[0]: https://cloud.google.com/artifact-registry/docs/pull-cached-dockerhub-images https://cloud.google.com/artifact-registry/docs/pull-cached-...
- ic4l 1y agoWe tried this initially FROM mirror.gcr.io/{image_name} We received failed to resolve source metadata for mirror.gcr.io/ So it looks like these services may not be true mirrors, and just functioning as a library proxy with a cache. If you're image is not cached on one of these then you may be SOL.
- da768 1y agoDuring the last Docker Hub outage we found Google mirrors lost all image tags after a while. Image digest references would probably work