Azure CLI
Container Apps Commands
Azure Container Apps
5 commands
Commands
Create Container App
$ az containerapp create -n myapp -g rg --image myimage:latest
Create a new container app with specified image
Enable Ingress
$ az containerapp ingress enable -n myapp -g rg --target-port 80
Enable ingress and expose container app on port 80
Stream Container Logs
$ az containerapp logs show -n myapp -g rg --follow
Stream live logs from container app
List App Revisions
$ az containerapp revision list -n myapp -g rg
List all revisions of a container app
Update Container Image
$ az containerapp update -n myapp -g rg --image myimage:v2
Update container app to use a new image version