I have a private insecure registry in a docker-machine VM. all working fine until I tried to pull image from inside a minikube VM.
I edited the file /var/lib/boot2docker/profile to contain the line
export EXTRA_ARGS="–insecure-registry 192.168.99.100:80" and restarted the VM.
Still, when I try to pull an image, I got the following error:
$ docker pull 192.168.99.100:80/myImg:1.1
Error response from daemon: Get https://192.168.99.100:80/v2/: http: server gave HTTP response to HTTPS client
I further added the file /etc/docker/daemon.json with the following content:
Still the above error persists. What could I have missed?
thanks for sharing your insight!