Repository navigation
Description
.NET 5.0 - Docker Repo Name Change
With the release of .NET 5.0 Preview 4, the Docker repositories where 5.0 images are located have been changed to no longer include core in the repo name.
Details
In order to better align with the .NET 5.0 branding, "core" is being dropped from the repository name. See #1765 for details.
Previous Repositories:
- dotnet/core: .NET Core
- dotnet/core/sdk: .NET Core SDK
- dotnet/core/aspnet: ASP.NET Core Runtime
- dotnet/core/runtime: .NET Core Runtime
- dotnet/core/runtime-deps: .NET Core Runtime Dependencies
- dotnet/core/samples: .NET Core Samples
- dotnet/core-nightly: .NET Core (Preview)
- dotnet/core-nightly/sdk: .NET Core SDK (Preview)
- dotnet/core-nightly/aspnet: ASP.NET Core Runtime (Preview)
- dotnet/core-nightly/runtime: .NET Core Runtime (Preview)
- dotnet/core-nightly/runtime-deps: .NET Core Runtime Dependencies (Preview)
New repositories for .NET 5 going forward:
- dotnet
- dotnet/sdk
- dotnet/aspnet
- dotnet/runtime
- dotnet/runtime-deps
- dotnet/samples -> available once .NET 5.0 releases as GA
- dotnet-nightly
- dotnet-nightly/sdk
- dotnet-nightly/aspnet
- dotnet-nightly/runtime
- dotnet-nightly/runtime-deps
.NET 5.0 Preview 4 will be used as a transition period for this repo name change. This means that the 5.0 floating tags in the old repo will be updated to reference the Preview 4 images. For example, the .NET 5.0 runtime image will be tagged with both mcr.microsoft.com/dotnet/core/runtime:5.0 and mcr.microsoft.com/dotnet/runtime:5.0. This tagging strategy will end once Preview 5 is released. At that point, all 5.0 tags using the old repo name will no longer be updated. In addition, all 5.0 floating tags will be removed from the old repo for the GA release of 5.0 in order to avoid accidental usage.
Activity
tristan-hyams commentedon Jul 14, 2020
@mthalman Hey Matt, new templates are still pointing to
/core/directories for Preview 6. People are going to hit a weird wall telling them (rightly so) that their build version of Buster-Slim is not found.Current:
Needs to change to:
Base dockerfiles for AspNetCore templates (maybe others) are still going to the legacy path despite the docker images not actually being available for Preview6 under the
/core/routing.I recommend pushing the build of Preview6 also to the old route, then more publicly make them aware that going forward, RC1, or Preview7 etc is under the new route WHILE also making sure fresh Dockerfile files in templates are correct.
Thanks for all your hard work, regardless!
mthalman commentedon Jul 14, 2020
Thanks, I'll follow up with the VS team to see what's going on here since this was supposed to have been updated.
mthalman commentedon Jul 14, 2020
What version of VS are you running (Help -> About Microsoft Visual Studio)? You should be running the latest update of 16.6 to ensure you have the changes that fix this.
tristan-hyams commentedon Jul 14, 2020
Wasn't sure which frameworks you wanted to see but here is the full thing.
mthalman commentedon Jul 14, 2020
Ok, thanks. I've confirmed that this is an issue with 16.6.
mthalman commentedon Jul 14, 2020
The plan is to "backport" the latest 5.0 images to the original repo/tag names: #2087
mthalman commentedon Jul 14, 2020
@houseofcat - This should now be fixed.
NicolasReyDotNet commentedon Nov 12, 2020
Hi, @mthalman I did upgrade from 3.1 to 5 very smoothly, thank you.
I noticed that there is an "equivalent" to previous 3.1 buster slim version for both aspnet and sdk :
mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim=>mcr.microsoft.com/dotnet/aspnet:5.0-buster-slimand
mcr.microsoft.com/dotnet/core/sdk:3.1-buster-slim=>mcr.microsoft.com/dotnet/sdk:5.0-buster-slimBut is there any "equivalent" to previous
mcr.microsoft.com/dotnet/core/sdk:3.1-buster?Is it
mcr.microsoft.com/dotnet/sdk:5.0?Many thanks for your help
mthalman commentedon Nov 12, 2020
@NicolasReyDotNet - The equivalent to
mcr.microsoft.com/dotnet/core/sdk:3.1-busterismcr.microsoft.com/dotnet/sdk:5.0-buster-slim. Because of #2376, the 5.0 SDK for Buster is now based onaspnet:5.0-buster-sliminstead ofbuildpack-deps:buster-scm. There didn't exist a slim variant ofbuster-scmso it was the full Buster in 3.1. But with 5.0, it's using the slim variant.NicolasReyDotNet commentedon Nov 13, 2020
@mthalman
Got it thank you, and congratz for your amazing job! 👍