Install Docker Swarm from a Linux host.
The host needs Docker and VirtualBox installed.
for; do ; done;for; do ; done;And that's it!
To access the swarm, you can use docker commands on your local machine, because you ran "eval $(docker-machine env node-1)", which points the docker command to the docker engine instance on node-1 (which happens to be the swarm master node).
you can also ssh to the nodes:
To remove the setup
for; do ; done;