Hosting Linux-based containers on Windows Server 2016

I’ve been looking through both Dockers and Microsoft’s documentation to find a tutorial on installing docker correctly on Windows Server 2016 TP5.

I’m getting the error ‘Last layer GUID does not have a base layer reference’, which I understand is because I can’t host Linux-kernel images on Windows, which makes sense.

I have also been reading that through Hyper-V containers on Windows Server, it should be possible to host Linux-based images.

Can anyone point me in the right direction (a tutorial or similar) or even just confirm or deny that it is possible to host i.e. mysql or nginx on my Windows Server 2016 TP5 installation?

Containers need to be on a matching host OS. The Docker for Windows beta installs the MobyLinuxVM for hosting Linux containers and sets everything up for you.

1 Like

Ok, that was what I figured by now. I installed Ubuntu Server in Hyper-V for now. Unfortunately, Docker for Windows Beta only supports Windows 10.

Thanks for the response, I was getting lost in information from both MS and Docker :smiley: