Join GitHub today
Docker Swarm - Multiplatform Containers Will Not Start in Windows Server 2016 #27612
In a two node scenario (as simple as I can make it) with a linux swarm manager node, and a Windows Server 2016 worker node: when starting linux containers, published ports are made available to swarm services. Services published that utilize Windows containers will only start without published ports; if there is a published port the container will NOT start (in fact, never even gets created on the Windows Server 2016 host)
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Additional environment details (AWS, VirtualBox, physical, etc.):
@walked thanks for trying this out - you made a lot of progress!
There are some limitations to what Docker can do on Windows and for now, those limitations mean that swarm-mode and multi-host overlay networking networking won't work on Windows. Neither a pure Windows swarm nor a mixed Linux-master/Windows-worker is expected work.
Reading this and recognizing the amount of work you put into trying to make this work, I realize that this should be in an FAQ or perhaps the daemon should warn.
Thanks again for trying to make this work and posting your progress!
referenced this issue
Nov 11, 2016
Hi, I stumbled upon this problem myself when setting up a docker datacenter trial. Ive setup a Linux vm (since docker datacenter only works in Azure, AWS and local linux) with Docker Datacenter on it and tried to add my windows 2016 docker server as a worker node. This failed as you know.
I'm closing this issue, because overlay networking (thus swarm mode) is not yet supported on Windows Server 2016; it will be added in some future update (sorry, I don't have inside information on when that will be), but support has been added to Windows 10 in the "Creators Update", see the blog post here; https://blogs.technet.microsoft.com/virtualization/2017/02/09/overlay-network-driver-with-support-for-docker-swarm-mode-now-available-to-windows-insiders-on-windows-10/
Until an update for Windows Server 2016 arrives, Swarm mode is not supported.
I'm locking the conversation on this issue, to prevent it from becoming a kitchen sink of anything "swarm", "network" and "windows" related reports. If you have issues with the current Docker release, and suspect there's a bug at hand, please open a new issue with details.