资源在 westeurope 位置不可用 - Azure 容器实例 Windows OS

Resource is not available in the location westeurope - Azure Container Instances with Windows OS

我有 docker 由以下 docker 文件创建的图像:

FROM mcr.microsoft.com/windows:10.0.17763.1039-amd64

COPY ["processor", "processor/"]

ENTRYPOINT ["processor/Processor.exe"]

我使用 Windows 作为基础图像,因为我们使用的图像处理库需要安装 Windows 媒体功能包。当我尝试使用我的结果图像创建 Azure 容器实例时,我收到错误消息:

##[error]ServiceUnavailable: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another location. Resource requested: '2' CPU '4' GB memory 'Windows' OS

Windows 在 ACI 中不支持作为基本图像?

如果不支持,那么如何在 Windows 服务器中安装 Windows 媒体功能包?

这真的很奇怪,但我发现你不能(目前)使用这个特定的版本。但请试试这个:

mcr.microsoft.com/windows:10.0.17763.973-amd64

我知道这是一个较旧的映像,但至少您可以在您所在地区的 ACI 中托管您的应用程序。