- deployed a local docker registry container to a docker-machine VM
- cannot push to local docker registry
- get an error including a message similar to, "http: server gave HTTP response to HTTPS client"
- in order to push to this local registry you need to make some modifications to your docker VM
- open
c:\users\<user-name>\.docker\machine\machines\default\config.jsonor~/.docker/machine/machines/default/config.jsonin an editor - find the
InsecureRegistryproperty and append"localhost:5000"to it - go to your docker terminal