1. Create a private container instance within its own VNET enter image description here enter image description here
  2. Create a Test VM within the same VNET as container instance enter image description here
  3. Test connection to container instance from Test VM using ping or nslookup
  4. Configure Private End point for ACR but before that few things to keep in mind, private acr works only with premium plan, system will prompt you during setup and also make sure to enable admin user. Disable public access, allow trusted Microsoft services to access acr and setup private endpoints as shown below- enter image description here enter image description here|enter image description here enter image description here
  5. Test connection to ACR from Test VM same using nslookup or ping, after that do a az acr login --name arkocr.azurecr.io to login to your acr, then pull your image and finally deploy your image. enter image description here
  • Confirm that the ACR has a private link set up correctly.
  • Make sure the DNS zone is linked properly to the VNET expected to contain the ACI.