Official images for .NET Core and ASP.NET Core for Linux and Windows Nano Server
The base image microsoft/dotnet:2.1-aspnetcore-runtime bases on Debian Stretch.
In the tags section " Windows Server, version 1809 amd64 tags" you will find tags based on Windows Nano Server. Their name contains the string nanoserver, e.g. 2.2.1-aspnetcore-runtime-nanoserver-1809.
The tag dotnet:2.1-aspnetcore-runtime is based on Debian Stretch…
You can find the specifics about the container image, and the available tags, at the repository on the Docker Hub. See, for example, https://hub.docker.com/r/microsoft/dotnet
Image variants
The microsoft/dotnet images come in different flavors, each designed for a specific use case.
microsoft/dotnet:-sdk
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
It contains the .NET Core SDK which is comprised of three parts:
.NET Core CLI
.NET Core
ASP.NET Core
Use this image for your development process (developing, building and testing applications).
microsoft/dotnet:-aspnetcore-runtime
This image contains the ASP.NET Core and .NET Core runtimes and libraries and is optimized for running ASP.NET Core apps in production.
microsoft/dotnet:-runtime
This image contains the .NET Core runtimes and libraries and is optimized for running .NET Core apps in production.
microsoft/dotnet:-runtime-deps
This image contains the native dependencies needed by .NET Core. It does not include .NET Core. It is for self-contained applications.
And just after that, we see If you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/dotnet/dotnet-docker/issues).
So, if your concerns aren’t addressed via the information on the repository’s information page, you could follow the link to the GitHub repository’s issues.