I am using OS X 10.10. When trying to communicate with our team\'s private docker registry, it keeps giving me errors like this:
Error: Invalid registry endp
I was looking for a way to set --insecure-registry
in Docker for Mac. Turned out to be simpler than what I first thought...
Click the Docker icon in the tray to open Preferences. Click on the Daemon tab and add your insecure registries in Insecure registries section.
Don't forget to Apply & Restart and you're ready to go.