This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az container create \ | |
--resource-group container-rg \ | |
--name acitest01 \ | |
--image $ACR_NAME.azurecr.io/helloacrtasks:v1 \ | |
--registry-login-server $ACR_NAME.azurecr.io \ | |
--ip-address Public \ | |
--location eastus \ | |
--registry-username "user1" \ | |
--registry-password "pass" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az vm create -n "ubuntu-2" \ | |
-g "rg-linuxvms-test" \ | |
--location "centralus" \ | |
--image "ubuntu-LTS" \ | |
--vnet-name "vnet-lab-01" \ | |
--subnet "app" \ | |
--ssh-key-name "linux-lab" \ | |
--size "Standard_B1s" \ | |
--public-ip-sku "Standard" \ | |
--admin-username "azureuser" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm create -n "centos-2" \ | |
-g "rg-linuxvms-test" \ | |
--location "centralus" \ | |
--image "CentOS" \ | |
--vnet-name "vnet-lab-01" \ | |
--subnet "app" \ | |
--ssh-key-name "linux-lab" \ | |
--size "Standard_B1s" \ | |
--public-ip-sku "Standard" \ | |
--admin-username "azureuser" |