1

I'm trying to deploy a quickstart image to my azure container environment and am receiving the following error;

The following field(s) are either invalid or missing. Field 
'template.containers.simple-hello-world-container-image' is invalid with 
details: 'Invalid Value: "mcr.microsoft.com/k8se/quickstart:latest": Get 
"https://mcr.microsoft.com/v2/:EOF';

My environment has a workflow profile, is linked to a custom vnet (with custom DNS) and is internal facing.

If I create this without a custom vnet, I don't have any problems.

It seems like I'm getting blocked outbound. Do I need any additional config for the custom vnet or custom dns?

Yaroslavm
  • 1,762
  • 2
  • 7
  • 15
  • 1
    This specifically concerns MCR (container registry). in your custom vnet, there are some settings you check such as verifying that your container instance can resolve external hostnames (DNS related issue). Or, if you have any NSG on your VNet, check if its blocking the outbound connection from your container instance. You can also share us a architecture diagram it would be easier to troubleshoot (showing what you have inside the VNet etc.). Lastly, also mention if you have a Private endpoint or link. Use nslookup, curl from within an instance to diagnose DNS and connectivity issues. – Ziya Mert Karakas Sep 02 '23 at 15:50
  • Hey, thanks for coming back to me. Its a container app not a container instance just for clarification. As for architecture, we have a traditional hub and spoke, we're routing all traffic through our central custom DNS and out through our firewall. – ShaolinShane Sep 02 '23 at 17:24

0 Answers0