neverlock
7/23/2016 - 6:32 AM

join swarm cluster

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