join swarm cluster
#!/bin/bash for d in `docker-machine ls --format "{{.Name}}"`; do docker-machine ssh $d docker swarm join --secret d0cker_swarm_2k 104.236.18.183:2377; done