This post has been republished via RSS; it originally appeared at: Azure Developer Community Blog articles.
As containers and cloud native workloads continue to grow, ensuring that customers can reliably acquire vendor artifacts becomes crucial. Microsoft is committed to offer its customers reliable and performant experience for pulling Microsoft container images from the Microsoft Container Registry (MCR or mcr.microsoft.com). MCR contains the full catalog of container images produced by Microsoft with their most up-to-date versions and tags. By leveraging Azure’s global footprint, MCR offers public access to Microsoft’s images globally. With that in mind, we are deprecating all /microsoft org container images hosted in Docker Hub repositories on June 30th, 2021.
How does this impact you?
If you continue to reference Microsoft container images using repositories in Docker Hub, this will have impact on your development, deployment, and automation scripts.
Examples for such references are:
FROM microsoft/* in Dockerfile or
docker run microsoft/* in automation scripts. You can leverage https://grep.app/ to discover such references in OSS scripts.
- Starting July 1st, 2021 repositories from microsoft/ org on Docker Hub will be removed. At this point development, deployment and automation scripts that still reference microsoft/ org images from Docker Hub registry will fail.
To avoid any impact on your development, deployment or automation scripts, you must update
docker pull commands,
FROM statements in Dockerfiles, and other references to
microsoft/ container images to explicitly reference the
We understand that certain repositories from microsoft/ org on Docker Hub registry are highly trafficked, and customers relying on them may not be able to complete these changes by June 30th, 2021. We are working to identify those repositories and provide extension for them. A list of such repositories and for how long they will be available will be published on MCR’s GitHub repository by June 1st, 2021.
Mapping of Docker Hub repositories to MCR repositories
Mapping between the repository names on Docker Hub and MCR can be found on MCR's GitHub repository.
Guidance for Consuming Public Container Images
Having a controlled workflow for consumption of public content like container images from Docker Hub and MCR is a key for building a secured and reliable software supply chain. Please see the Open Container Initiative’s Consuming Public Content for general guidance and Azure’s guidance for consuming public content.