I want to run a simple dotnet core console app in a container interactively. I am not able to do that and the container simply starts and then exits immediately without fully ru
By default, you don't have an interactive TTY when the container is started with docker-compose up.
docker-compose up
You need to add that to your service:
stdin_open: true tty: true