Exploring containers in the Microsoft Container Registry with Visual Studio Code

Have you ever wondered which containers are in the official Microsoft Container Registry (MCR)? If you try to access the URI endpoint (https://mcr.microsoft.com) by browser you get redirected to https://azure.microsoft.com/en-us/services/container-registry/ . So no overview of the containers inside the containers registry shown.

But, luckily we have tools like Microsoft Visual Studio Code with extensions like the Docker extension. Let’s see if we can use those to browse the containers inside the MCR.

Let’s open Microsoft Visual Studio Code and select the extensions in the left side menu. Type Docker in the search box and install the Docker extension from Microsoft, if you haven’t already.

Make sure you have the Docker extension installed

Once you have installed the extension and it is enabled, click the docker icon in the left side menu and open the “Registries” section. Click “Connect Registry…” and select “Generic Docker Registry” (Preview)”

Add a generic Docker registry

Type in: https://mcr.microsoft.com and press [enter].

Leave the username input field empty in the next screen and press [enter]. Due to the fact that you don’t enter an username, the third step, input of a password, will be skipped.

If you now click on “Connected Registries on the left side of the window, you will see mcr.microsoft.com.

If you click on mcr.microsoft.com, you can browse all the stored containers in the registry and see which versions are available. For example the Azure IoT Edge edgeHub module.

Exploring the registry can expose interesting containers. Like Azure IoT Edge modules from Microsoft.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.