Docker on a Linux-Based EC2: Containerizing a C# .NET API Service

See the original posting on DZone Python

Dockerized ASP.NET Core APi

This blog post describes the steps for packaging a C# .NET Core API service into a Docker image; focusing on how to run a container using the various options that Docker offers, especially interacting with external resources.

I won’t dwell on Docker technology and its benefits, there are some great blog posts for that, here is one of them. I’ll start from the very beginning: a plain Linux-based EC2 instance.