![](https://it-infrastructure.solutions/content/images/2022/01/image-27.png)
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
GUI - Way:
![](https://it-infrastructure.solutions/content/images/2022/03/image.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-1.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-2.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-3.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-4.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-5.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-6.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-7.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-9.png)
![](https://it-infrastructure.solutions/content/images/2022/03/image-10.png)
PowerShell - Way:
![](https://it-infrastructure.solutions/content/images/2022/01/image-22.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-23.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-24.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-25.png)
az group create --name learn-deploy-aci-rg --location westeurope
![](https://it-infrastructure.solutions/content/images/2022/01/image-26.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-28.png)
az container create --resource-group learn-deploy-aci-rg --name testacicontainer --image mcr.microsoft.com/azuredocs/aci-helloworld --ports 80 --dns-name-label testacicontainer --location westeurope
![](https://it-infrastructure.solutions/content/images/2022/01/image-32.png)
az container show --resource-group learn-deploy-aci-rg --name testacicontainer --query "{FQDN:ipAddress.fqdn,ProvisioningState:provisioningState}" --output table
![](https://it-infrastructure.solutions/content/images/2022/01/image-34.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-35.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-36.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-37.png)
az container delete -n testacicontainer -g learn-deploy-aci-rg
![](https://it-infrastructure.solutions/content/images/2022/01/image-38.png)
Get logs
az container logs --resource-group learn-deploy-aci-rg --name testacicontainer
![](https://it-infrastructure.solutions/content/images/2022/01/image-39.png)
Get container events
az container attach --resource-group learn-deploy-aci-rg --name testacicontainer
![](https://it-infrastructure.solutions/content/images/2022/01/image-40.png)
Execute a command in your container
az container exec --resource-group learn-deploy-aci-rg --name testacicontainer --exec-command /bin/sh
![](https://it-infrastructure.solutions/content/images/2022/01/image-41.png)
Sources:
Exercise - Run Azure Container Instances - Learn
Run Azure Container Instances.
![](https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png)