<p>I want to use local registery for my <strong>kubernetes</strong>. I can use <a href="https://stackoverflow.com/questions/36232906/how-to-access-private-docker-hub-repository-from-kubernetes-on-vagrant">How to access private Docker Hub repository from Kubernetes on Vagrant</a> and it works i can pull my image from it but i should use 
image: IP_OF_DOCKER_REGISTERY:5000/IMAGE_NAME</p>

<p>But i do not want it. i want to every image pull form my docker <strong>registery</strong> without assign any IP and port.</p>

<p>What should i do?
How can i use proxy?</p>

yasin lachini
<p>What you're asking is not possible out-of-the-box with docker, if you want to use a registry different to Docker hub, you have to specify it as stated in the <a href="https://docs.docker.com/engine/reference/commandline/pull/#pull-from-a-different-registry" rel="nofollow noreferrer">documentation</a>.</p>

<pre><code>$ docker pull &lt;private_registry&gt;/image_name:tag
</code></pre>

<p>Refer to this <a href="https://github.com/moby/moby/issues/7203" rel="nofollow noreferrer">Github issue</a> for more information</p>
