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
The proper way to set it is via the --engine-insecure-registry argument to docker-machine:
docker-machine create --driver virtualbox \
--engine-insecure-registry myregistry:5000 dev
You can also pass other options using --engine-opts. For example, set dns via --engine-opt dns=8.8.8.8
This essentially ends up setting EXTRA_ARGS in /var/lib/boot2docker/profile