Docker Community Forums

Share and learn in the Docker community.

Can't Join Worker Node to Swarm

Hi Everyone – Im new to Docker and I’ve just gone through some tutorials on creating swarms. I’ve been able to create a initialize a swarm, but I cannot join. Details Below:

Docker version 19.03.8
API version 1.4
Host OS - MacOS Catalina 10.15.3
Guest OS - Windows 10 (Virtual Machine using VirtualBox)

When i execute the swarm join with the token i get two messages. First:

“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.”

Then when i check docker info i see this error:

Swarm: error
NodeID:
Error: rpc error: code = DeadlineExceeded desc = context deadline exceeded

I ran port scan in my mac and all i got as a result was:
Open TCP Port: 53448
Port Scan has completed…

I checked if i had firewall enabled and i didnt so i assume all connections should be allowed.

Any help would be appreciated. Thanks!