Vagrant 试图通过Docker Swarm将一名员工添加到经理中,但却得到;Swarm:错误“;

Vagrant 试图通过Docker Swarm将一名员工添加到经理中,但却得到;Swarm:错误“;,vagrant,docker-swarm,centos8,Vagrant,Docker Swarm,Centos8,我正在尝试向manager节点添加一个工作节点,其中包含: 经理: 我复制并粘贴到另一个Centos 8虚拟机中,但我得到: [vagrant@localhost ~]$ sudo docker swarm join --token SWMTKN-1-08bxdyybimwbmrbt4d7479l5ei97f45mre2uv7tthtarft9ka6-1n1iyb1dt20arvut5eghzfv0y 192.168.20.10:2377 Error response from daemon:

我正在尝试向manager节点添加一个工作节点,其中包含: 经理:

我复制并粘贴到另一个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.
我已打开两个VM中的端口:

[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:
[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: