Docker – Hyper-V Containers are going to allow running of Linux Containers

containersdockerhyper-vwindows-server-2016

I cannot find a definitive answer anywhere (lots of contradicting information and very general). With the new version of MS Windows Server 2016 it's going to be possible to run containers in two modes:

  • Windows Container
  • Hyper-V Container

First one (windows container) is a classic container which shares the same MS Windows Server kernel and not very secure. However second (hyper-v container) uses hypervisor to provide isolation and security.

Sine release of Windows 10 Anniversary Update few months back Microsoft has included “Windows Subsystem for Linux”.

Is it going to be possible to run Linux (Ubuntu, Debian, CoreOS, etc. ?) containers using the Hyper-V Container technology ?

I have searched everywhere but cannot find an container image with Linux for Hyper-V Containers. Only two available which I'm able to find are Nano Server and Windows Server 2016 which are provided by Microsoft.

Using Technical Preview 5 (TP5) of Windows Server 2016 now, the general availability (GA) is going to be any day soon as announced at Ignite conference few days back.

Anybody got any news ? able to verify ?

Best Answer

Linux Containers on Windows (lcow) now is available on Windows Server, version 1709. https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/linux-containers.

I have created a blog post regarding to this topic here: https://chunliu.me/2018/02/12/running-linux-containers-on-windows-server-2016/. Hope it helps.