繁体   English   中英

Azure 容器实例 - 不受支持的 windows 映像 .net 框架 4.8

[英]Azure Container Instance - Unsupported windows image .net framework 4.8

我正在尝试使用基于mcr.microsoft.com/dotnet/framework/aspnet:4.8创建的自定义映像在 Azure 门户中创建容器实例

当我尝试这样做时,我收到错误消息“不支持的 windows 映像版本。支持的版本是 'Windows Server 2016 - 2B 之前,Windows Server 2019 - 2B 之前,Windows Server 2016 - 2B 之后,Windows Server 2019 - 之后2B,Windows Server,版本 1903 - 2B 之后,Windows Server,版本 2004'"。

我有一个需要 .Net Framework 4.8 才能在容器上运行的应用程序。 这就是我必须选择上述基本图像的原因。

任何人都可以帮助我解决此问题或具有.net framework 4.8 的任何其他备用基本图像。

这可能是因为用于构建该映像的窗口操作系统版本与 AKS/Container 实例上节点池的窗口版本不同。 建议您使用相同的 Window 操作系统来构建图像,因为它会出错。

github中也提出了类似的问题。

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM