Hello Kurian Uthuppu
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
To fix the issue of not being able to view the image in your container registry while creating the container instance in Azure, you can try the following steps:
-Just cross check once with Azure CLI if the image exists or not:
az acr repository show-tags --name <registry-name> --repository <repository-name>
-Make sure that you have the correct permissions to access the container registry. You can check this by running the following command in the Azure CLI:
az acr check-health --name <registry-name>
This command will check the health of your container registry and report any issues with authentication or connectivity.
-Make sure that the container registry is in the same Azure region as the Azure Container Instance. If they are in different regions, you may need to enable global access for the container registry.
-Check if the container registry is behind a firewall or network security group (NSG). If so, you may need to add an exception to allow traffic from the Azure Container Instance to the container registry.
If you have checked all of the above and still cannot see the image while creating the container instance, try creating a new Azure Container Registry and push the image to the new registry. Then, try creating the container instance using the image from the new registry and see if that is working.
Hope this helps.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.