Install Docker for Mac (http://beta.docker.com)
Install docker-machine-driver-xhyve (https://github.com/zchee/docker-machine-driver-xhyve)
brew install docker-machine-driver-xhyve
sudo chown root:wheel
docker run -d --privileged -p 8080:8080 --name=rancher-server rancher/server:latest
docker run -d --privileged -p 8080:8080 --name=build-master rancher/build-master:latest
docker-machine create --driver=xhyve --xhyve-memory-size='512' --xhyve-boot-cmd='loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=host1' host1 docker-machine create --driver=xhyve --xhyve-memory-size='512' --xhyve-boot-cmd='loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=host2' host2 docker-machine create --driver=xhyve --xhyve-memory-size='512' --xhyve-boot-cmd='loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=host3' host3
Go to http://localhost:8080 once server is up, Add Host
Fill in the version and URL from the command the UI shows, but run this to register each host instead:
docker-machine ssh host1 sudo docker run -e CATTLE_AGENT_IP=$(ifconfig eth0 | grep "inet " | awk -F'[: ]+' '{ print $4 }') -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/rancher:/var/lib/rancher rancher/agent:##VERSION## ##URL##
I've formatted the REAME.md. feel free to update it
https://gist.github.com/axnux/09dc375d71398cbbee44ebd23ba35a08