Containers can be easily created. In this example, the container is created from the CLI, with only a few parameters. To create a container, open the Azure Cloud Shell from the Azure Portal, select the Bash tab, and add the following code:
This step is optional. You can use this if you want to check and change the default selected Azure subscription:
az account showaz account set -s "Your-Subscription-Name"
Next, create the resource group and the container:
az group create --name packtcontainergroup --location "West Europe"az container create -g packtcontainergroup --name packtcontainer --image library/nginx --ip-address public