Should I see console output (Console.WriteLine) from my .NET Core console app dockerized (linux image) by using docker logs command?
Found out that in debug mode the app only writes to the debug output console. So if you run docker logs on a local debugging container there will be nothing. If you run the container in release mode then the logs will be present when running a docker logs
docker logs
1.4m articles
1.4m replys
5 comments
57.0k users