Not 100% clear. You want to run Nano Server images under Linux using Docker ? (which is AFAIK not possible). Knowing if using ASP.NET 4.x or ASP.NET Core could also help.
A specialized forum could be better (it's seems rather an OS admin or Docker forum question rather than really an ASP.NET question at least for now).
AFAIK ASP.NET 4.x can't run under Nano Server (Windows Server Core is ok) and you can't run Nano Server under Linux (to confirm this part a Linux admin forum would be likely better).
None
0 Points
4 Posts
Containerize ASP.NET applications
Feb 27, 2019 01:05 PM|AJ00712|LINK
How to containerize existing ASP.NET applications on nano server on Linux dockers....
All-Star
48510 Points
18071 Posts
Re: Containerize ASP.NET applications
Feb 27, 2019 01:44 PM|PatriceSc|LINK
Hi,
Not 100% clear. You want to run Nano Server images under Linux using Docker ? (which is AFAIK not possible). Knowing if using ASP.NET 4.x or ASP.NET Core could also help.
A specialized forum could be better (it's seems rather an OS admin or Docker forum question rather than really an ASP.NET question at least for now).
None
0 Points
4 Posts
Re: Containerize ASP.NET applications
Feb 27, 2019 01:50 PM|AJ00712|LINK
You want to run Nano Server images on Docker for Linux - Yes
Using ASP.NET 4x
All-Star
48510 Points
18071 Posts
Re: Containerize ASP.NET applications
Feb 27, 2019 02:16 PM|PatriceSc|LINK
AFAIK ASP.NET 4.x can't run under Nano Server (Windows Server Core is ok) and you can't run Nano Server under Linux (to confirm this part a Linux admin forum would be likely better).
I found https://docs.microsoft.com/fr-fr/dotnet/standard/modernize-with-azure-and-containers/modernize-existing-apps-to-cloud-optimized/deploy-existing-net-apps-as-windows-containers#choose-an-os-to-target-with-net-based-containers which likely shows the best path ie :