Skip to content

Transition plan for new repository names #2337

@mthalman

Description

@mthalman

Transition plan for new repository names

To help minimize the disruption of transitioning to the new Docker repository names for the .NET 5.0 release described in #1939, a new plan has been made to publish all supported images across all .NET versions (2.1, 3.1, 5.0) to these new repositories. The original repository names will continue to be maintained for backwards compatibility. References to the original repository names in our documentation will be updated to use the new repository names.

Details

As part of the .NET 5.0 release, a new set of Docker repository names have been created that do not have "core" in the name. This aligns with the branding change from ".NET Core" to ".NET". See the announcement for details on these new repositories.

The original plan was to only publish 5.0+ Docker images to these new repositories and that 2.1/3.1 images would remain in the original repositories. However, issues like #2334 exemplify scenarios where there is a burden in compensating for this lack of consistency in the repository names with .NET 5.0. After further consideration we've determined that we should do more to reduce the friction associated with this repository name transition.

By publishing 2.1 and 3.1 images to the new repository names, this friction can be reduced so that a single set of repository names can be used consistently across all infrastructure regardless of the .NET version. In addition, the experience can be further improved by updating all our documentation to no longer refer to the original repository names with "core" in their name. This effectively phases out usage of the original repository names. However, they will still be maintained with up-to-date images in order to support those consumers that haven't yet been transitioned to the new repository names. This is very similar to the transition from Docker Hub to MCR.

Transition Plan

    • Contact MCR to have them initiate a request for Docker Hub to redirect the Docker Hub pages for the old nightly repos to the new repos:
    Old Repo URL Redirect To
    https://hub.docker.com/_/microsoft-dotnet-core-nightly-sdk/ https://hub.docker.com/_/microsoft-dotnet-nightly-sdk/
    https://hub.docker.com/_/microsoft-dotnet-core-nightly-aspnet/ https://hub.docker.com/_/microsoft-dotnet-nightly-aspnet/
    https://hub.docker.com/_/microsoft-dotnet-core-nightly-runtime/ https://hub.docker.com/_/microsoft-dotnet-nightly-runtime/
    https://hub.docker.com/_/microsoft-dotnet-core-nightly-runtime-deps/ https://hub.docker.com/_/microsoft-dotnet-nightly-runtime-deps/
    • Once nightly branch is deemed stable, merge the changes into master branch.
    • Contact MCR to have them initiate a request for Docker Hub to redirect the Docker Hub pages for the old official repos to the new repos:
    Old Repo URL Redirect To
    https://hub.docker.com/_/microsoft-dotnet-core-sdk/ https://hub.docker.com/_/microsoft-dotnet-sdk/
    https://hub.docker.com/_/microsoft-dotnet-core-aspnet/ https://hub.docker.com/_/microsoft-dotnet-aspnet/
    https://hub.docker.com/_/microsoft-dotnet-core-runtime/ https://hub.docker.com/_/microsoft-dotnet-runtime/
    https://hub.docker.com/_/microsoft-dotnet-core-runtime-deps/ https://hub.docker.com/_/microsoft-dotnet-runtime-deps/
    https://hub.docker.com/_/microsoft-dotnet-core-samples/ https://hub.docker.com/_/microsoft-dotnet-samples/
    • Publish images to new repos

There is also supplemental work that should be done by other teams to support this transition:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions