I am trying to run a .net core 1.0.0 console application inside a docker container.
When I run
docker run -d --name demo Demo
docker logs demo
Demo app running...
You should either run your container in the daemon mode (with
-i option). but please note that the background processes will be closed immediately when you run the container so make sure your script is run in the foreground or it simply won't work.