- 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.json
or~/.docker/machine/machines/default/config.json
in an editor - find the
InsecureRegistry
property and append"localhost:5000"
to it - go to your docker terminal