I am completely new to docker. I am going through the getting started guide. I am in middle of part 4. https://docs.docker.com/get-started/part4/#deploy-your-app-on-a-cluster
I am trying to set up a cluster on two VMs. I started one machine and created the swarm.
This is what I see on the first machine:
docker@myvm1:~$ docker swarm join-token worker To add a worker to this swarm, run the following command: docker swarm join \ --token SWMTKN-1-047oa7i1qj7i8xm2j8a2pou8r6ybilpzn5ocq1j7v9f5vim3ww-2ahix0btoe8gi65pcm040zd12 \ 192.168.99.100:2337
This is what I see on the second machine:
docker@myvm2:~$ docker swarm join \ > --token SWMTKN-1-047oa7i1qj7i8xm2j8a2pou8r 6ybilpzn5ocq1j7v9f5vim3ww-2ahix0btoe8gi65pcm040z d12 \ > 192.168.99.100:2337 Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable
How do I get the second machine to join as a worker?