我已经创建了一个asp.net核心信号器项目。它很棒。图像生成良好。我发布到我的私人存储库。但是,当我尝试将图像下拉到Windows 2016服务器上时,出现错误消息:docker : a Windows version 10.0.17134-based image is incompatible with a 10.0.14393 host
我看不到针对特定平台的位置,而我所做的研究似乎应该在此运行
FROM microsoft/dotnet:2.2-sdk AS build
WORKDIR /app
COPY ./*.csproj ./EntityStatusChangeService/
RUN dotnet restore ./EntityStatusChangeService/EntityStatusChangeService.csproj
COPY ./. ./EntityStatusChangeService/
WORKDIR /app/EntityStatusChangeService
RUN dotnet publish -c Release -o out
FROM microsoft/dotnet:2.2-aspnetcore-runtime AS runtime
WORKDIR /app
COPY --from=build /app/EntityStatusChangeService/out ./
ENTRYPOINT ["dotnet", "EntityStatusChangeService.dll"]