but during the Initialize the swarm and add nodes section, I get an cryptic error:
"Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = transport: authentication handshake failed: remote error: tls: bad certificate"
Below is the full command line sequence:
> docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
myvm1 - hyperv Running tcp://10.0.0.2:2376 v18.06.1-ce
myvm2 - hyperv Running tcp://10.0.0.3:2376 v18.06.1-ce
> docker-machine ssh myvm1 "docker swarm init --advertise-addr 10.0.0.2:2376"
Swarm initialized: current node (tjwygiuyihwztrgqumhrbhupw) is now a manager.
To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-2y6it3299chbm46do2jbk1yj9csmv021zlcwi2yhxo2ep1i2jg-2grqwx68c6xe4tpfpk9f3r2x6 10.0.0.2:2376
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
> docker-machine ssh myvm2 "docker swarm join --token SWMTKN-1-2y6it3299chbm46do2jbk1yj9csmv021zlcwi2yhxo2ep1i2jg-2grqwx68c6xe4tpfpk9f3r2x6 10.0.0.2:2376"
Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: authentication handshake failed: remote error: tls: bad certificate"
Iāve seen this error before. I donāt think it comes from ādocker swarm joinā. I think the error comes from connecting to the docker machine myvm2. Does this have the same error?: docker-machine ssh myvm2
I have the same error exactly and I have seen this query posed in a few places with no reply. Iām running the latest version of Docker for Mac, the latest VMBox download. Iād love to resolve this if anyone can help please?
I tried killing and RM the VMs and recreating them from scratch, but get the same problem each time.