Docker Community Forums

Share and learn in the Docker community.

Docker swarm having linux and mac nodes. [Context deadline exceeded]

I am trying to create a swarm network on different operating systems. I have three Linux nodes. One of the linux nodes is made as the manager using docker swarm init .... which are in a swarm network and are working fine. But when I try to add a new node using docker swarm join --token ... on the mac machine. it throws an error context deadline exceeded.

The firewall is turned off on the mac machine. And as far as the ports on the linux machine are considered, they must be open because I can get the exclusively linux swarm to work.

Problem is in adding a mac machine to the swarm network of linux nodes.

MAC os is running docker desktop for mac.
Linux is running docker 19.0.3