Azure Containers deployment – "Operation failed with status 200: Resource State Failed"

From Azure we try to create container using the Azure Container Instances with prepared YAML. From the machine where we execute az container create command we can login successfully to our private registry (e.g fa-docker-snapshot-local.docker.comp.dev on JFrog Artifactory ) after entering password and we can docker pull it as well

docker login fa-docker-snapshot-local.docker.comp.dev -u svc-faselect
Login succeeded

So we can pull it successfully and the image path is the same like when doing manually docker pull:

   image: fa-docker-snapshot-local.docker.comp.dev/fa/ads:test1 

We have YAML file for deploy, and trying to create container using the az command from the SAME server. In the YAML file we have set up the same registry information: server, username and password and the same image

az container create --resource-group FRONT-SELECT-NA2 --file ads-azure.yaml

When we try to execute this command, it takes for 30 minutes and after that message is displayed: "Deployment failed. Operation failed with status 200: Resource State Failed"

Can you please help us why this error occurs?
Thank you

Source: Docker Questions

LEAVE A COMMENT