I am using docker-registry to pull my own docker images, but I want to do so without the need to specify the host. meanning: instead of writing:
docker pull <host>:<port>/<dockerImage>
I want to write:
docker pull <dockerImage>
and first it will try to pull the docker from my private registry, before trying to pull it from the public docker registry.
Is it possible?
I tried to change the DOCKER_INDEX_URL
to [my_docker_registry_host]:[port]
, but it doesn't work.