Deploying web apps to Azure App Service from Azure Container Registry
In this section, you will learn how to deploy an ASP.NET Core application to Azure App Service from ACR. There are two ways you can deploy images from ACR to other Azure services such as App Service, Container Apps, and Azure Functions. In this section, you will learn about enabling the admin user feature in ACR. This one is simple and easy to use. Another deployment option is using the managed identity feature in Azure. The managed identity feature is the recommended practice. You will learn about creating and configuring managed identity for ACR in the next section.
With the following steps, you will learn how to enable the admin user and work with username and password:
- To enable the admin user of ACR, you can execute the following command:
> az acr update -n packtbook --admin-enabled true
- Once it is executed, Azure will enable the admin user for ACR with default passwords, which you can query...