Run dotnet core apps without console output

Since it’s possible to run dotnet core apps on Linux, Docker immediately comes into play.

The typical approach is to execute dotnet run and it will output to the console:

..which is nice for debugging, but for real scenarios you probably will redirect application output to CloudWatch Logs, Loggly or ELK.

So what is you want to run app without this console output?

Well, it’s quite simple if you have basic Linux background, but if you’re from Windows world, here’s simple example for you:

nohup dotnet run &>/dev/null &

I hope this info will be useful to you, and if you need any help feel free to use contact from on the main page.