sudo docker swarm join --token SWMTKN-1-3ltemfcbr4wa71zfctzpzkzzp7wxfijrm17fv7m1u4t60c8gp4-0p5ak00mdqd6flp0d0doa88qy 192.168.43.100:2377
This node joined a swarm as a worker.
回歸HOST1,檢視worker節點是否加入
sudo docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
x0544nvby7gt0zaxp30gjjqov * pi-GB-BSi5A-6200 Ready Active Leader 18.09.9
vz8vwt7bom9s2go59wtt04lbf ubuntu-mate Ready Active 19.03.3