Īfter tagging the image, I was trying to push to the docker hub repository and getting this response: fish> docker push /: Unfortunately, that private Docker hub is configured to accept only HTTP requests, instead of HTTPS. Will fail because 192.168.99.100 is not a secure registry Use SSL certs and restart the docker daemon to get this to work, or set this as an insecure registry and restart the docker daemon to get this. This can be done directly via Juju, using the command: juju config kubernetes-worker docker-config-insecure-registry :5000'. First, let’s look at: docker push 192.168.99.100:5000/my-image. In order to connect to an insecure registry, the Docker daemon must be reconfigured and an -insecure-registry option must be added. It turns out that the project cannot be public, so I needed to use an internal Docker hub we’re using in my current project for keeping it private. Both docker push and kubectl run will fail because the registry is insecure. Last week I started a side project and, for it to be more interesting, I decided to go with Docker and Kubernetes. Nothing really impressive, but it helps you to go through the basics. I did the later, and as a result of it I pushed my first two docker images to Docker Hub. In general before getting your feet wet with a new technology, it’s convenient (required?) to either go through the usually great documentation about the project or follow a tutorial about it. The insecure-registry option allows Docker to attempt an HTTPS connection to the registry, without any validation of the certificates presented by the registry. Last two weeks I’ve been playing a bit with Docker. I hope you were not worried about me! I’ve been fine! Just a bit busy. In case you are searching to add insecure registry in MacOs then you can visit my another read Configure insecure registry in Docker Mac. I have spent lot of time to access insecure registry in Ubuntu server. But if an image doesnt exist in the local cache (i.e. I just realized 2016 passed by and this blog didn’t get any update. First is HTTP protocol (Generally HTTPS) and second is 80 (Generally 5000) port. Pushes and pulls both work against this insecure registry.