如何解决尝试使用 Docker Swarm 将工作人员添加到管理器,但出现“Swarm:错误”
我正在尝试将一个工作节点添加到一个管理节点: 经理:
docker swarm join-token worker
我复制并粘贴到另一个 Centos 8 虚拟机中,但我得到:
[vagrant@localhost ~]$ sudo docker swarm join --token SWMTKN-1-08bxdyybimwbmrbt4d7479l5ei97f45mre2uv7tthtarft9ka6-1n1iyb1dt20arvut5eghzfv0y 192.168.20.10:2377
Error response from daemon: Timeout was reached before node joined. The attempt to join the swarm will continue in the background. Use the "docker info" command to see the current swarm status of your node.
我已经打开了两个虚拟机的端口:
[vagrant@localhost ~]$ sudo firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: cockpit dhcpv6-client http ssh
ports: 2377/tcp 7946/tcp 7946/udp 4789/udp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。