Skip to main content

Azure Container Registry (ACR)

All Docker images are stored in Azure Container Registry. There are two registries.

Registries

ca45076245feacr — Auth & HITL Services

  • Login server: ca45076245feacr.azurecr.io
  • SKU: Basic
  • Resource group: testing
  • Stores: Keycloak, HITL Frontend, Review Service, Ingest Service, Config Service, Router Service, AuthStack Toolbox

ca74e243f29aacr — Assistant Agent

  • Login server: ca74e243f29aacr.azurecr.io
  • SKU: Basic
  • Resource group: assistant-agent-rg
  • Stores: Assistant Agent

Common Commands

Log in

az acr login --name ca45076245feacr
az acr login --name ca74e243f29aacr

List images

az acr repository list --name ca45076245feacr --output table
az acr repository list --name ca74e243f29aacr --output table

List tags for an image

az acr repository show-tags --name ca45076245feacr --repository hitl-frontend --output table

Build and push without local Docker (cloud build)

# Run from the directory containing your Dockerfile
az acr build \
--registry ca45076245feacr \
--resource-group testing \
--image my-service:latest \
.
tip

Use az acr build when you don't have Docker running locally. Azure builds and pushes in the cloud.

Build and push with local Docker

docker build -t ca45076245feacr.azurecr.io/my-service:v1.0.0 .
docker push ca45076245feacr.azurecr.io/my-service:v1.0.0