Problem adding a worker to the swarm
I have 2 nodes, node1 and node2. No firewall.
CMD0 - docker swarm init –advertise–addr ip_node1
CMD1 - docker swarm join–token SWMTKN… ip_node1: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.“
CMD2 - docker info
Error: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Is Manager: false
Node Address: 126.96.36.199”“
msg="failed to retrieve remote root CA certificate”
CMD3 - systemctl show –property=Environment docker
I tryed CMD1 and it gave me the same error,could someone please tell me what I am doing wrong?