Why would I want to do this?
As a developer, when I want to try a new tech stack, the first thing to do is to setup a development environment including (but not limited to):
- Install the SDK and runtime
- An editor to write code
- setup code, compile, debug cycle
I would also want to set this up as quickly as possible without breaking anything already on my computer. This is where a containerised development environment trumps other options: all you need to do is to get the docker image and off you go!
- On github: https://github.com/dotnet/dotnet-docker/blob/master/samples/aspnetapp/aspnet-docker-dev-in-container.md
- Stackoverflow answer Setting up ports and other settings