When we are searching for an image in our private registry we need to specify the host "docker search 10.10.10.10:5000/apache" If we execute "docker search apache" docker is looking for an image only in the official docher hub registry. Our use case:
FROM organization/apache
# .....
# custom instructions
We want to search this image in our registry(without providing registry host), and if it is not found use public docker hub registry. Is it possible to configure docker client to do this?
I think what you actually want to do is set up a Docker mirror: https://docs.docker.com/registry/recipes/mirror/
So the first time you pull an image, it will come from the Hub, but subsequent requests will be handled locally.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With