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
What Is File Hole and How Can It Be Used
Bluetooth Low Energy in C - Using Bluez to Create a Gatt Server
Adding a New System Call in Linux Kernel 3.3
Which Stack Is Used by Interrupt Handler - Linux
Custom Git Command Autocompletion
Linux Terminal: How to Capture or Watch Other Terminal Session
How Does Ancillary Data in Sendmsg() Work
Alsa Cannot Set Sample Format[Ffmpeg]
Cmake:How to Change File Permissions When Installing
How to Trace Per-File Io Operations in Linux
Print Kernel's Page Table Entries
Difference Between Completion Variables and Semaphores
How to Run Linux Docker Images on Windows Server 2016
How to Limit the Cache Used by Copying So There Is Still Memory Available for Other Caches
How to Use Aio and Epoll Together in a Single Event Loop