You create a container image named Image1 on a developer workstation.
You plan to create an Azure Web App for Containers named WebAppContainer that will use Image1.
You need to upload Image1 to Azure. The solution must ensure that WebAppContainer can use Image1.
To which storage type should you upload Image1?
Click on the arrows to vote for the correct answer
A. B. C. D.C
Configure registry credentials in web app.
App Service needs information about your registry and image to pull the private image. In the Azure portal, go to Container settings from the web app and update the Image source, Registry and save.
https://docs.microsoft.com/en-us/azure/devops/pipelines/targets/webapp-on-container-linuxTo upload a container image to Azure that can be used by an Azure Web App for Containers, you can use Azure Container Registry (ACR) which is a managed Docker registry service that stores and manages private Docker container images.
Option C is therefore the correct answer: Azure Container Registry.
Here's why the other options are not suitable:
Option A: Uploading to an Azure Storage account that contains a blob container is not the correct choice because Azure Web App for Containers does not support directly mounting blob storage as a volume. You can use Azure Blob storage to store your container images, but you would need to set up additional services to enable the web app to use them. This would add complexity to your deployment and increase maintenance costs.
Option B: Uploading to Azure Container Instances (ACI) is not the right choice because ACI is a service that allows you to run a container on-demand and not intended for storing images. ACI is not a container registry, so you cannot store images in it for use by other services.
Option D: Uploading to an Azure Storage account that contains a file share is not the right choice because Azure Web App for Containers does not support directly mounting file shares as a volume. While you can use Azure File Storage to store your container images, you would need to set up additional services to enable the web app to use them. This would add complexity to your deployment and increase maintenance costs.
In summary, to ensure that WebAppContainer can use Image1, you should upload the container image to Azure Container Registry. This will allow you to store the image in a secure and managed registry that can be easily accessed by Azure Web App for Containers.