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
$ docker run -it -p 8080:80 my-awesome-container-app:1.0.0
exec /app/my-awesome-container-app: no such file or directory
Reproduction steps:
# create a new project and move to its directory
dotnet new mvc -n my-awesome-container-app
cd my-awesome-container-app
# add a reference to a (temporary) package that creates the container
dotnet add package Microsoft.NET.Build.Containers
# publish your project
dotnet publish --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer -p:ContainerBaseImage=mcr.microsoft.com/dotnet/aspnet:7.0-alpine
# run it
docker run -it -p 8080:80 my-awesome-container-app:1.0.0
Works just fine when I switched to aspnet:7.0-jammy
The text was updated successfully, but these errors were encountered:
Thanks for this, and sorry it took so long to see it. We rediscovered this today and reported some specific details in #301, please see that issue for workarounds until we get this solved for real.
Docker run fails with the following error:
Reproduction steps:
Works just fine when I switched to aspnet:7.0-jammy
The text was updated successfully, but these errors were encountered: