You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Thread continued from dotnet/dotnet-docker#2257
I created an ASP.NET 5 web api with .NET 5 RC1 SDK and created a docker image with self-contained version of web API.
Total size of docker image -
262 MB
(nanoserver:2004) + 41 MB (self-container .NET 5 web API)Tried to deploy with latest nanoserver base image(2004) on ACI (in East US region) and I get
UnsupportedWindowsVersion
errorFROM mcr.microsoft.com/windows/nanoserver:2004
Then, I tried with
1909
version, and got the same error on Azure Portal -UnsupportedWindowsVersion
FROM mcr.microsoft.com/windows/nanoserver:1909
Then with
1903
, same error -UnsupportedWindowsVersion
FROM mcr.microsoft.com/windows/nanoserver:1903
Then downgraded further to
1809
, and now I can't even run the API locally.FROM mcr.microsoft.com/windows/nanoserver:1809
Continued downgrading further and now tried
sac2016
versionFROM mcr.microsoft.com/windows/nanoserver:sac2016
And eventually, this base image worked and API successfully ran on ACI - http://paymentsapp.eastus.azurecontainer.io/api/health/stats
However, the deployed image size is
1.21 GB
(Trying to keep image as small as 200 MB)> docker history paymentsapp
When can we deploy docker images with
nanoserver:2004
on ACI?The text was updated successfully, but these errors were encountered: