ACR and App Service container CLI: which command does what

Verdict: az acr build runs an on-demand cloud build and push. az acr task create defines triggered builds. az webapp config container set points App Service at an image with credentials. az webapp log tail streams live container logs.

Criterionaz acr buildaz acr task createaz webapp config container setaz webapp log tail
Does whatOn-demand cloud build and push of one image, no local DockerDefines a persistent triggered taskPoints App Service at an image and sets registry credentialsStreams live container log output
Use whenVerify a Dockerfile builds in the cloud; a CI/CD build stepAutomate builds on commit or base image updateSwitch to username and password registry auth for a third-party registryWatch container startup logs live
NeedsNothing extraA PAT with repo scope for a private GitHub repo webhookRegistry URL, username, passwordFilesystem container logging enabled first

Rules

Traps