Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
.NET Core 2.1 Docker Image Updates
We have consolidating the set of Docker Hub repositories that we use for .NET Core and ASP.NET Core. We will use microsoft/dotnet as the only repository that we publish to for .NET Core 2.1 and later releases.
We added a set of environment variables to .NET Core images to make it easier to host ASP.NET Core sites at any .NET Core image layer and to enable
Alpine and ARM32 image variants have been added and are supported.
.NET Core Docker Samples have been moved to the dotnet/dotnet-docker repo. The samples have been updated for .NET Core 2.1. New samples have been added, including Hosting ASP.NET Core Images with Docker over HTTPS.
Please share your thoughts on this change and see what others are saying at:
The following changes have been made as part of the .NET Core 2.1 release.
.NET Core and ASP.NET Core images will be published to the microsoft/dotnet Docker Hub repo for .NET Core 2.1 and later releases. Co-location of images improves image discovery. The .NET Core runtime and SDK images are already co-located. We are adding the ASP.NET Core runtime images to the microsoft/dotnet repo as a third image type. We are no longer producing the microsoft/aspnetcore-build image with .NET Core 2.1.
The following three tags are now available at the microsoft/dotnet repo:
Environment variables enable new scenarios
We added a set of environment variables to .NET Core docker images, for .NET Core 2.1 and later. These environment variables enable more scenarios to work without additional configuration, such as developing ASP.NET Core applications in a container.
New sdk image environment variables (example)
New Linux runtime-deps image environment variables (example)
New Windows runtime image environment variables (example)
New image variants
Alpine and ARM32 image variants have been added and are supported as part of the .NET Core 2.1 release.
For Alpine, you must use specific tags to create Alpine-based images, such as
For ARM32, you can use the regular multi-arch tags, like
The following repos are related to this announcement: