The Problem
I was trying to run a “simple” hello-world Azure Container Instance. When I typed
az container create --resource-group myrersourcegroup --name mytestcontainer --image "mcr.microsoft.com/azuredocs/aci-helloworld" --dns-name-label mydnslabel --ports 80 443
And it worked.
I tried it again a few days later and I got the error
(InternalServerError) Encountered an internal server error. The tracking activity id is 'ba9613c2-70b8-4e3c-8d51-51e603d1c2c6', correlation id is '7e07cd3a-6e34-4ff6-8dde-8be7e58a6262'. What was going on?
The Solution
It turns out that this is a DNS label error. As I had copied/pasted the command I was using the DNS name “mydnslabel” and it looks like someone else was using the same label. Changing the DNS label to another name allowed the command and container to work