Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Motivation

Microsoft moved their Container images from Docker Hub to their own Container registry=> https://azure.microsoft.com/en-gb/blog/microsoft-syndicates-container-catalog/

...

So I need to find a user friendly way to browse the images at https://mcr.microsoft.com


The HOW

Fun fact. Microsoft did not reuse their own Azure Container Registry to build the mcr.microsoft.com. They created something new and added parts of the Thankfully, Microsoft have implemented the interface of Docker Registry HTTP API V2 => https://cloudblogs.microsoft.com/opensource/2019/01/17/improved-discovery-experience-microsoft-containers-docker-hub/

So what can we dohow to use this?

First, open the docs Docker Registry HTTP API V2Start Postman and execute to read the specifiations.

Second, I have shared all the Postman samples here => https://documenter.getpostman.com/view/43927/SVSDPWkN


To list all the repositories at mcr.microsoft.com:

Code Block
https://mcr.microsoft.com/v2/_catalog

Image Removed


Image Added

To list the tags for a image:

Code Block
https://mcr.microsoft.com/v2/dotnet/core/samples/tags/list


To find the size of the Container Image:

Image Added