

Then I can create the pods from the master: # kubectl create -f myimage-rc.yaml Then on the master I define the pod or replication controller, in a similar way: # cat myimage-rc.yaml On all the Kubernetes nodes, edit the file /etc/sysconfig/docker, by adding the line: INSECURE_REGISTRY='-insecure-registry 192.168.33.1:5000'įrom my development machine (192.168.33.100) I push myimage to the private registry: $ docker tag myimage 192.168.33.1:5000/myimage $ docker push 192.168.33.1:5000/myimage I must say docker to use the insecure registry.

I want to push Docker images to the private registry and then use them in the Kubernetes cluster. 192.168.33.1: CentOS with private Docker registry.
