Hello Bernard Steyn
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on the issue description shared, seems like you are having trouble accessing your private Azure Container Registry image. The error message you received indicates that the image is not accessible. This could be due to incorrect registry credentials or incorrect image name.
To troubleshoot this issue, you can try the following steps:
- Verify that the image name and tag are correct. You can check this by running the following command in the Azure CLI:
az acr repository show-tags --name <registry-name> --repository <repository-name>
- Verify that the registry credentials are correct. You can check this by running the following command in the Azure CLI:
az acr login --name <registry-name>
- Ensure that the image you are trying to pull exists in your Azure Container Registry. You can use the following command to list the images in your registry:
az acr repository list --name <registry-name> --output table
- Check if you have the correct permissions to access the image. You can use the following command to check the permissions:
az acr repository show --name <registry-name> --repository <repository-name> --output table
- If you are using a private subnet, make sure that the subnet has access to the internet. You can do this by adding a NAT gateway to the subnet.
- Make sure that the IP address of the subnet is added to the "Networking" allowed IP's in the Azure Container Registry.
- Review the logs of the container group for any additional error messages or warnings that might provide more insights into the issue. You can check the logs using Azure Portal, Azure CLI, or Azure PowerShell.
- You can try pulling the container image manually from the private subnet using Docker or a container runtime tool to validate if the image is accessible within the subnet. If the image cannot be pulled manually, it indicates an issue with the network connectivity or the image itself.
Hope this helps, you should be able to identify and resolve the issue preventing the Azure container from accessing the private Azure Container Registry image.