Docker-Swarm Blog Posts

Docker Notes 4 docker swarm

By default inactive
docker swarm init
To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-5dwktx410vuftgekfht2av182j0aie65bs2e1smhwehbhogwsq-2uenh58uniqgihh5vtu30lzxc 192.168.65.3:2377
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions
docker node ls
docker node --help

0 Likes 732 Views