-When you deploy an image that's hosted in a private container registry like the one created in the [second tutorial](container-instances-tutorial-prepare-acr.md), you must supply credentials to access the registry. As shown in [Authenticate with Azure Container Registry from Azure Container Instances](../container-registry/container-registry-auth-aci.md), a best practice for many scenarios is to create and configure an Azure Active Directory service principal with *pull* permissions to your registry. See that article for sample scripts to create a service principal with the necessary permissions. Take note of the service principal ID and service principal password. You use these credentials when you deploy the container.
0 commit comments