Search code examples
linuxdockerwindows-server-2016

How to run Linux Docker images on Windows Server 2016?


I have used docker for windows with linux containers on windows 10 sucessfully - but now I want to use a new shiny Windows Server 2016 for that task - but how?

I have installed the docker features using this guide: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server

Installing the normal docker.msi fails because the windows version ist not Windows 10.

Unfortunately, when trying to run any linux vm docker throws the error:

image operating system "linux" cannot be used on this platform.

In the docker beta I could switch between using windows containers or linux containers - but how I can do that on Server 2016= There is no tray icon or else.


Solution

  • It is now possible to run Linux containers on Windows Server 2016 although it's not as simple as running the Docker for Windows installer. Full instructions are in the following answer: Linux Docker container on Windows Server 2016