Deploying compute workloads by using images and containers Part 4 – Deploy an Azure container instance
1 min read

Deploying compute workloads by using images and containers Part 4 – Deploy an Azure container instance

First update the container registry for admin enabled.

Now deploy your container. You will find username and password for the registry in the access keys settings.

az container create -g 05lab-rg --name ipcheckcontainer --image xyz.azurecr.io/ipcheck:latest --cpu 1 --memory 1 -l westeurope

Now since it’s automatically started all you need to do is check the logs and you will see the container has collected the ip adress of the container.

az container logs -g 05lab-rg -n automaticrunipcheckcontainer

Wow! Awesome work!

Leave a Reply