
Estoy intentando ejecutar un contenedor Docker creado a partir del siguiente Dockerfile:
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim-arm32v7 AS runner
WORKDIR /app
COPY MyApp/bin/Debug/netcoreapp3.1 ./
COPY SomeFolder SomeOtherFolder
ENTRYPOINT ["dotnet", "MyApp.dll"]
Sin embargo, recibo el siguiente mensaje de error:
It was not possible to find any installed .Net Core SDKs. Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from: https://aka.ms/dotnet-download
Cuando abro una consola dentro del contenedor, puedo ejecutarla dotnet MyApp.dll
sin problemas y las versiones anteriores de la imagen también funcionaron. Reemplazar ENTRYPOINT
con CMD
tampoco ayuda.