Private registry with Kubernetes Private registry with Kubernetes kubernetes kubernetes

Private registry with Kubernetes


It was not a problem of registry configuration.I forgot to mention that I used minikube.

For the flags to be taken into account, I had to delete the minikube configuration and recreate it

minikube delete

minikube start --insecure-registry="10.0.4.0/24"


Hey try to browse your registry using this nice front end app https://hub.docker.com/r/konradkleine/docker-registry-frontend/

Perhaps this will give you some hint , it looks like the registry has some configuration issue...


instead of deleting the cluster first (minikube delete) the configuration json may be editied at ~/.minikube/config/config.json to add this section accordingly:

{... "HostOptions": { ... "InsecureRegistry": [ "private.docker.registry:5000" ], ... }, ... } ...}

this only works on started clusters, as the configuration file won't be populated otherwise. the answer above using minikube --insecure-registry="" is fine.