I want to use local registery for my kubernetes. I can use How to access private Docker Hub repository from Kubernetes on Vagrant and it works i can pull my image from it but i should use image: IP_OF_DOCKER_REGISTERY:5000/IMAGE_NAME
But i do not want it. i want to every image pull form my docker registery without assign any IP and port.
What should i do? How can i use proxy?
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 documentation.
$ docker pull <private_registry>/image_name:tag
Refer to this Github issue for more information