This is useful if you intend to run a registry server natively on OSX.
###Alternatives
You can start a VM on OSX, and deploy your registry normally as a container using Docker inside that VM.
The simplest road to get there is traditionally to use the [docker Toolbox](https://www.docker.com/toolbox), or [docker-machine](https://docs.docker.com/machine/), which usually relies on the [boot2docker](http://boot2docker.io/) iso inside a VirtualBox VM.
###Solution
Using the method described here, you install and compile your own from the git repository and run it as an OSX agent.
### Gotchas
Production services operation on OSX is out of scope of this document. Be sure you understand well these aspects before considering going to production with this.