Here are a bunch of scripts that help you visualise a Swarm. It's a bit of a mess, and in a "works for me" state, so no guarantees it'll work for you.
Props to Sean, Jeff, Alvin, and Patrick for building most of this.
- Install Docker Toolbox.
- Open the Docker Quickstart Terminal app to create a default machine and give you a Docker shell.
- Set up a Swarm with Machine: https://docs.docker.com/swarm/install-w-machine/
- Ensure you're pointing at your default machine by running
eval "$(docker-machine env default)"
- Run
scripts/up.sh swarm-master
(assuming your Swarm master is calledswarm-master
) - Browse to port 3000 on your default machine (
open http://$(boot2docker ip default):3000
in your shell will do that for you)