The following code shows you the structure of the console app we created and will help you Prepare a .Net Core Console App for Docker
Run ASP.NET Core on OpenShift
Start with Elasticssearch, Kibana and ASP.NET Core
Step by step: Kafka Pub/Sub with Docker and .Net Core
Step by step: Couchbase Lite with .Net Core