Docker swarn on two hosts

Gentlemen, good day!

Is it possible to build HA swarm cluster on two ESXi hosts? In case of two nodes, if one of the nodes will fail, quorum will be destroyed, so replica will not launch on another node.

Thank you!

Yes, you would need a minimum of 3 nodes. Pls check this link(https://docs.docker.com/engine/swarm/admin_guide/#add-manager-nodes-for-fault-tolerance)

Thank you!

So, in case of just two ESXi hosts, building HA swarm cluster is impossible?
I mean, in windows cluster you could use shared folder as a witness, here anyway you will need to build 3rd node

Yes, thats correct. In earlier swarm modes, there used to be an external storage like etcd. Now the quorum is integrated into each swarm node. I think this makes it simpler…