Relative Content

Tag Archive for c#dockerasp.net-coredockerfile

Docker Desktop /bin/sh: 1: [dotnet,: not found

I built successfully asp.net core 8 application , locally it’s running, I published it successfully, while debugging on docker it runs ok. next I’ve complied / published release version. when I try to run container I get the following error /bin/sh: 1: [dotnet,: not found. I’ve tried manually docker pull mcr.microsoft.com/dotnet/aspnet:8.0 but it says “Image is up to date for mcr.microsoft.com/dotnet/aspnet:8.0”, what am i missing ?