xxxxxxxxxx
$ sudo docker swarm init
Swarm initialized: current node (vseamtq4qgpmvu0m50gaee3co) is now a manager.
To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-1jyx1grn9l5ru7oh2hxlquioccoasrxcstqwr9c511gwzah98y-ac0ulnp1e1sey7ntyumidqtu0 X.X.X.X:2377
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.