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 --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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: