ASP.NET Core app crashing
You can look at the console logs of your application using the command
docker logs [OPTIONS] CONTAINER
where CONTAINER is the name of your docker container.Refer to docker logs documentation
Hopefully, you will be able to see the exception which caused your application to crash/exit.