

Use the following steps to configure your web app to pull from ACR using managed identity. Use managed identity to pull image from Azure Container Registry

To use an image from a private registry, such as Azure Container Registry, run the following command: az webapp config container set -name -resource-group -docker-custom-image-name -docker-registry-server-url -docker-registry-server-user -docker-registry-server-password įor and, supply the login credentials for your private registry account. To change an existing custom container from the current Docker image to a new image, use the following command: az webapp config container set -name -resource-group -docker-custom-image-name / /dotnet/aspnet:3.1-nanoserver-1809Ĭhange the Docker image of a custom container./dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019./dotnet/framework/aspnet:4.8-windowsservercore-20H2.However, you can reduce start-up time by using one of the following parent images that are already cached in Azure App Service:

It takes some time to download a parent image during app start-up. NET Core apps, use a parent image based on the Windows Server 2019 Nano Semi-Annual Servicing Channel (SAC) release. NET Framework apps, use a parent image based on the Windows Server 2019 Core Long-Term Servicing Channel (LTSC) release. For your custom Windows image, you must choose the right parent image (base image) for the framework you want:
