标签:root ISE class 常见操作 初始化 lse 服务 swarm name
准备3台均安装了docker的服务器 manager worker1 worker2
1.登录manager 初始化集群
[root@manager ~]# docker swarm init --advertise-addr 10.23.215.87
2.node节点加入集群 worker1 worker2登录后执行
[root@worker2 ~]# docker swarm join --token SWMTKN-1-4sazd33tdwk3b3mgzvijc8k7stpbofkkw0053zdtdgde0ls4q0-3li70azumzsmddhhtmtea1ow3 10.23.215.87:2377 This node joined a swarm as a worker.
3..登录manager查看集群信息
[root@manager ~]# docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION 4tlp5w6pbuhbw1vdm5eyfgvht * manager Ready Active Leader 19.03.8 l01337gajltyxxcj4u877zzfm worker1 Ready Active 19.03.8 sfecygd6gj6vlw6luivury2bp worker2 Ready Active 19.03.8
标签:root ISE class 常见操作 初始化 lse 服务 swarm name
原文地址:https://www.cnblogs.com/caonw/p/12881842.html