An Azure service that provides a registry of Docker and Open Container Initiative images.
How to access an image when setting up a container group via Azure CLI
I'm following this How-To guide:
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-group-ssl
In the deploy-aci.yaml I need to replace the image with my own private image (stored in an Azure container registry). The example code is:
- name: my-app
properties:
image: mcr.microsoft.com/azuredocs/aci-helloworld
I tried this:
image: <mycontainerregistryname>.azurecr.io/<myrepositoryname>:<tag>
... and get an error:
The image '...' in container group '...' is not accessible. Please check the image and registry credential.
What is the correct syntax? Do I have to put in the password of the container registry?
Azure Container Registry
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more