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
2.1m questions
2.1m answers
60 comments
57.0k users