Install docker-machine
The official installation instructions are here but it you want to just install docker-machine run this:
curl -L https://github.com/docker/machine/releases/download/v0.10.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&
chmod +x /tmp/docker-machine &&
sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
Install the latest version of virtualbox. You can follow these instructions here.
./just-give-me-a-three-node-swarm-now.sh
docker-machine use manager1
docker node ls
or
docker-machine ssh manager1
docker node ls
Enjoy!