Publishing an image to the Azure Container Registry

In this section, we are going to publish the Docker image to Azure Container Registry (ACR). We can do this directly from Visual Studio as well. Let's get started:

  1. Right-click the project file in the Visual Studio Solution Explorer. 
  2. Click Publish.
  3. In the wizard that opens, select Container Registry, then Create New Azure Container Registry, and select Publish immediately:

Publishing wizard
  1. On the next screen, add the following settings and click Create:

Creating a new Container Registry ...

Get Microsoft Azure Architect Technologies: Exam Guide AZ-300 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.