Hello,
Creating Azure container intance with private networking thats meaning that the container are accesible by the private IP address in this vnet. You can find the ip on overview page or by CLI:
You can add your own name resolution with a private dns zone.
If you want to test if your image is working you can create another container (or Vm if you already have one in the Vnet) and try to connect to the private ip:
CONTAINER_GROUP_IP=$(az container show --resource-group your-resource-group \
--name your-aci-application-01 \
--query ipAddress.ip --output tsv)
az container create \
--resource-group your-resource-group \
--name commchecker \
--image alpine:3.5 \
--command-line "wget $CONTAINER_GROUP_IP" \
--restart-policy never \
--vnet vnet-aci \
--subnet snet-aci
You will have something like this, (in the example 10.0.3.4 is the container group ip): https://learn.microsoft.com/en-us/azure/container-instances/container-instances-vnet
Regards,
Luis Arias
If the information helped address your question, please Accept the answer.