Kubernetes/docker ErrImagePull when deploying app from private registry Kubernetes/docker ErrImagePull when deploying app from private registry docker docker

Kubernetes/docker ErrImagePull when deploying app from private registry


I reproduced your issue and the solution is to add

{  "insecure-registry" : ["10.10.30.200:5000"]}

on every node (workers and master) in /etc/docker/daemon.json in the cluster and restarting docker sudo systemctl restart docker to load new configuration.

You can follow this guide on how to set up insecure private docker registry using helm.

Once the chart was successfully installed, add entry in daemon.json on every node and restart docker. After that you can tag and push your image to the repository.

To check if the image was successfully pushed to your registry you can run:

curl -X GET http://10.10.30.200:5000/v2/_catalog

and the output should be similar to this:

{"repositories":["ubuntu/myimage"]}