I planed to create swarm cluster using two windows server 2016. I followed below steps
Installed docker EE on two nodes using following command
Install-Module -Name DockerMsftProvider -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Restart-Computer -Force
after that I created test container to check whether docker is working or not . I was able to start test container and later remove the container once testing is done.
After that in one node I run the following command to initialize the swarm cluster.
docker swarm init --advertise-addr node-ip-address:2377
But this command hang for ever, because of this issue I was unable to create swarm.
If the command still hangs, please let us know. Also in order to join nodes to the Swarm, please make sure you have created a Windows Firewall rule for port 2377
kalute
(Kallie B. (Microsoft Container Networking))
3
Please see the System Requirements section of the doc for more details on system prerequisites. The doc also includes info on current support and limitations for swarm mode on Windows.