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
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.
@sekharsamala - Please ensure you have installed the latest Microsoft Update (KB4015217): https://support.microsoft.com/en-us/help/4015217/windows-10-update-kb4015217
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
@sekharsamala Additionally, our main doc page for swarm on Windows is here: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/swarm-mode#deploying-services-to-a-swarm
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.