After this setup, all the images pushed to the registry will be available in ~/registry/data directory.
Steps:
- Install
boot2docker
. this will be our registry server - Run boot2docker. This should mount user folder from host (e.g. /Users-> /Users). We will host the registry files in this tree, at: ~/registry/data
- Save its IP address,
REGISTRY_HOST=$(boot2docker ip)
- Run registry. Note that this must be executed on the host machine for the shell to interpret
~
correctly.