Sie sind auf Seite 1von 4

6/15/2017 WindowsServer2016AddsNativeOverlayNetworkDriver,enablingmixedLinux+WindowsDockerSwarmModeClusters|VirtualizationBlog

Server & Tools Blogs > Server & Management Blogs > Virtualization Blog
Sign in

Virtualization Blog
Information and announcements from Program Managers, Product Managers, Developers and Testers
in the Microsoft Virtualization team.

Windows Server 2016 Adds Native Overlay Network Driver,


enabling mixed Linux + Windows Docker Swarm Mode
Clusters




April 18, 2017 by JMesser81 // 3 Comments

Share 26 67 45

Based on customer and partner feedback, we are happy to announce the Windows networking team released
a native overlay network driver for Windows Server 2016 to enable admins to create a Docker Swarm cluster
spanning multiple Windows Server and Linux container hosts without worrying about configuring the
underlying network fabric. Windows Server containers and those with HyperV Isolation powered by Docker
are available natively in Windows Server 2016 and enable developers and IT admins to work together in
building and deploying both modern, cloudnative applications as well as supporting liftandshift of
workloads from a virtual machine VM into a container. Previously, an admin would be limited to scaling out
these containers on a single Windows Docker host. With Docker Swarm and overlay, your containerized
workloads can now communicate seamlessly across hosts, and scale fluidly, ondemand.

How did we do it? The Docker engines, running in Swarm mode, are able to scaleout services by launching
multiple container instances across all nodes in a cluster. When one of the master Swarm mode nodes
schedules a container instance to run on a particular host, the Docker engine on that host will call the
Windows Host Networking Service HNS to create the container endpoint and attach it to the overlay
networks referenced by that particular service. HNS will then program this policy into the Virtual Filtering
Platform VFP HyperV switch extension where it is enforced by creating network overlays using VXLAN
encapsulation.

The flexibility and agility enjoyed by applications already being managed by Docker Swarm is one thing, but
what about the upfront work of getting those applications developed, tested, and deployed? Customers can
reuse their Docker Compose file from their development environment to deploy and scale out a multi
service/tier application across the cluster using docker stack deploy command syntax. Its easy to leverage
the power of running both Linux and Windows services in a single application, by deploying individual
services on the OS for which they are optimized. Simply use constraints and labels to specify the OS for a
Docker Service, and Docker Swarm will take care of scheduling tasks for that service to be run only on the
correct host OS. In addition, customers can use Docker Datacenter via Docker Enterprise Edition Standard to
provide integrated container management and security from development to production.

Ready to get your hands on Docker Swarm and Docker Datacenter with Windows Server 2016? This feature has
already been validated by beta customers by successfully deploying workloads using swarm mode and
https://blogs.technet.microsoft.com/virtualization/2017/04/18/ws2016overlaynetworkdriver/ 1/4
6/15/2017 WindowsServer2016AddsNativeOverlayNetworkDriver,enablingmixedLinux+WindowsDockerSwarmModeClusters|VirtualizationBlog

Docker Datacenter via Docker Enterprise Edition Standard, and we are now excited to release it to all
Windows Server customers through Windows Update KB4015217. This feature is also available in the
Windows 10 Creators Edition with Docker Community Edition so that developers can have a consistent
experience developing apps on both Windows client and server.

To learn more about Docker Swarm on Windows, start here https://docs.microsoft.com/en


us/virtualization/windowscontainers/managecontainers/swarmmode. To learn more about Docker
Datacenter, start with Dockers documentation on Docker Enterprise Edition
https://www.docker.com/enterpriseedition.

Feature requests? Bugs? General feedback? We would love to hear from you! Please email us with feedback at
sdn_feedback@microsoft.com.

Search MSDN with Bing

Search this blog Search all blogs

Top Server & Tools Blogs

ScottGu's Blog

Brad Andersons "In the Cloud" Blog

Brian Harry's Blog

Steve "Guggs" Guggenheimer's Blog

Share This Post

Recent Posts

Making it easier to revert April 20, 2017

Use NGINX to load balance across your Docker Swarm cluster April 19, 2017

Windows Server 2016 Adds Native Overlay Network Driver, enabling mixed Linux + Windows Docker Swarm
Mode Clusters April 18, 2017

Whats new in HyperV for the Windows 10 Creators Update? April 13, 2017

Tags

Application Virtualization Azure Site Recovery Citrix Cloud Computing Community cross
platform management Disaster Recovery Dynamic Memory ESX events guest blog post High

Availability HP HVR HyperV HyperV Replica integrated virtualization


https://blogs.technet.microsoft.com/virtualization/2017/04/18/ws2016overlaynetworkdriver/ 2/4
6/15/2017 WindowsServer2016AddsNativeOverlayNetworkDriver,enablingmixedLinux+WindowsDockerSwarmModeClusters|VirtualizationBlog

Interop Live Migration Management Management tools Microsoft Application


Virtualization Microsoft Desktop Optimization Pack Microsoft HyperV Server MMS SoftGrid

System Center System Center Virtual Machine Manager VDI Virtual


Desktop Architecture virtualization Virtualization AMD virtualization management
virtual machine Virtual PC Virtual Server VMM 2008
Virtuallization Solution Accelerators

VMWare Windows Server 2008 Windows Server 2008 R2 Windows


Server 2012 Windows Server 2012 R2 Windows Virtualization XenServer

Archives

April 2017 4
March 2017 1
February 2017 5
January 2017 5
December 2016 1
October 2016 5
All of 2017 15
All of 2016 17
All of 2015 18
All of 2014 36
All of 2013 30
All of 2012 23
All of 2011 41
All of 2010 58
All of 2009 97
All of 2008 80
All of 2007 13
All of 2006 3

Tags containers

Join the conversation


Add Comment

john 1 month ago

I followed the steps in the Docker Swarm on Windows article but I cannot get the
service to correctly start. Always ends up with error HNS failed with error: Eleme

Koshy 2 weeks ago

https://blogs.technet.microsoft.com/virtualization/2017/04/18/ws2016overlaynetworkdriver/ 3/4
6/15/2017 WindowsServer2016AddsNativeOverlayNetworkDriver,enablingmixedLinux+WindowsDockerSwarmModeClusters|VirtualizationBlog

Face exactly same issue on my test swarm using overlay network shared across 3three Ubuntu VM and
1one windows server 2016 VM.

KOSHY1 Shutdown Rejected 8 seconds ago HNS failed with error : Eleme

Gobinath 1 month ago

The overlay network is working in a single Win 2016 box. But when I try to add
another windows 2016 box as worker, then get the following error in the worker box.
time=20170503T11:16:55.493594300Z level=error msg=fatal task error error=HNS failed with error :
Catastrophic failure module=node/agent/taskmanager node.id=zn9zzkrjvh6zztcaqjgvytwe3
service.id=0jqrmf0ubgd4hy0f4wugarvlc task.id=x4yh9bjm1l9cgb16942mcg7dg

Docker version 17.05.0cerc3, build 90d35ab

Regards,
Gobi.

2017 Microsoft Corporation.

Terms of Use Trademarks Privacy & Cookies

https://blogs.technet.microsoft.com/virtualization/2017/04/18/ws2016overlaynetworkdriver/ 4/4