How to Run Linux Docker Images on Windows Server 2016

How to run linux docker image in windows server 2016?

I have checked your windows server version. you are using windows server 2016 (1607 version). since you are using the 1607 version you cant use WSL, Hyper-V, LinuxKit, Docker Desktop to run the Linux container image i.e (node, alpine, Nginx, etc..)

Please refer this StackOverflow question. you will find the solution.

How to run Linux Docker images on Windows Server 2016?

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

Docker Image for Windows server 2016 with framework .NET 5.0

I don't know how choco handles the installation of VS Build Tools so I can't say for sure how to avoid the restart requirement.

However, you should be able to avoid creating your own image and instead use the existing mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2016 image. This actually provides everything you need:

  • NuGet
  • VS 2019 Build Tools
  • .NET 5 SDK


Related Topics



Leave a reply



Submit