skip to content
Alvin Lucillo

Run a command inside an image

/ 1 min read

To run a command inside a built image, use az acr run command. It’s close to docker run

az acr run \
    --registry $ACR_NAME \
    --cmd "$ACR_NAME.azurecr.io/inference-api:v1.0.0 node --version" \
    /dev/null