I keep images on a private registry. When docker pulls an image and it is not found on the private registry it is instead fetched from the default docker registry.
How can one disable the default docker registry lookup ? I don't want to fetch images from the default docker registry at all.
I'm running on a debian hosts.
One option/workaround I can quickly think of is to name/tag those images uniquely. E.g. if you tag it with your username
Or unique names
Let me know what do you think about this option/workaround
Currently, its not possible to change the default registry. see here
You can use by using
URL
of private registry i.e. 1. First login to your private registry.docker pull myrepo:5000/myimage
if you use the a redhat, we can use --block-registery hostname
But above yet not accepted.