Cloud service · Azure · Updated

Azure Container Registry - Azure Container Registry is a managed Azure service for building, storing, securing, and distributing container images and OCI artifacts.

In short

Azure Container Registry provides private registries for Linux and Windows container images, OCI-based Helm charts, and related artifacts. It integrates with Azure identity, deployment, networking, and security services, with optional build automation, upstream artifact caching, and multi-region replication.

Cloud Services Hub →

9 key features of Azure Container Registry

01
Container image and OCI artifact storage

Store Linux and Windows container images, OCI-based Helm charts, and other supported OCI artifacts in named repositories. Use standard registry clients and deploy by digest when an exact artifact version is required.

02
Microsoft Entra authentication and repository authorization

Authorize users, managed identities, and service principals through Azure role assignments. Repository permissions with ABAC support granular repository and namespace-based access across all tiers; choose repository roles appropriate to the registry's permissions mode.

03
Managed image builds with ACR Tasks

Run container builds in Azure without maintaining a dedicated build server. Configure supported source, schedule, and base-image update triggers to rebuild images, then test and promote the resulting artifacts through your release process.

04
Private network access

Premium registries support private endpoints through Azure Private Link. Configure private DNS and routing for both registry and data endpoints, and verify that build agents and deployment hosts can reach them.

05
Geo-replication and regional resilience

Premium geo-replication distributes a single logical registry across selected Azure regions to support regional availability and nearby image pulls. Replication is asynchronous, so release automation should account for propagation delays.

06
Encryption and zone redundancy

All tiers encrypt stored artifacts at rest and provide zone redundancy by default in supported regions. Customer-managed keys are an optional Premium capability for deployments that require control over the encryption key.

07
Upstream artifact caching

Artifact cache rules map supported upstream repositories into your registry. Configure upstream credentials when required, and pull through the mapped ACR repository to populate and use the cache.

08
Connected registry for local distribution

Deploy a connected registry in a supported local container environment, including supported Arc-enabled Kubernetes deployments. Synchronize selected images and OCI artifacts from the cloud registry to support remote sites and intermittent-connectivity architectures.

09
Artifact protection and event hooks

Use write and delete attributes to protect released artifacts against unintended changes. Configure webhooks to notify automation about supported registry events, such as image pushes.

Where Azure Container Registry is used

  1. 01
    Private application image distribution

    Publish application images from CI pipelines and grant deployment identities read-only access. Separate repositories by application or team, and use repository-scoped permissions when sharing a registry.

  2. 02
    Multi-region Kubernetes deployments

    Use a Premium geo-replicated registry to distribute images near AKS clusters in multiple regions. Validate image availability in target regions before a coordinated rollout, and reference release digests consistently.

  3. 03
    Automated base-image rebuilds

    Configure ACR Tasks to rebuild dependent application images when tracked base images change. Run application tests and security checks before promoting rebuilt images into production.

  4. 04
    Controlled consumption of upstream images

    Use artifact cache rules for supported public or authenticated upstream registries. Point workloads at the ACR cache path to centralize image access and reduce repeated upstream downloads.

  5. 05
    Remote and edge artifact distribution

    Use connected registry to distribute selected artifacts to factories, branches, or other remote container environments. Plan synchronization windows and local access permissions around each site's connectivity constraints.

  6. 06
    Versioned deployment package storage

    Store OCI Helm charts alongside application images and associated OCI artifacts. Release automation can track chart versions and image digests together without operating a separate legacy Helm repository.

How Azure Container Registry is priced

Basic registry tier

A recurring registry charge provides the entry-level feature set, included storage, and lower throughput limits. It suits development, testing, and smaller workloads that do not require Premium networking or replication capabilities.

Standard registry tier

A higher recurring registry charge includes more storage and throughput than Basic. It supports production workloads that fit its capacity limits and do not require Premium-only features.

Premium registry tier

The highest registry tier includes more storage and concurrency, plus capabilities such as Private Link and geo-replication. Additional geo-replicas incur charges, so include every configured region in cost estimates.

Additional storage and data transfer

Stored data above the tier's included allowance is billed separately. Applicable network transfer charges depend on traffic paths and destinations; private endpoints also introduce separate Azure Private Link charges.

ACR Tasks compute

Managed build and task execution uses consumption-based compute billing in addition to registry charges. Estimate costs from task frequency, execution duration, and selected compute configuration; separately integrated services such as Defender for Cloud can add their own charges.

Services Azure Container Registry works with

A common architecture uses Azure Pipelines to build and test an image, publish it to ACR, and deploy the resulting digest to Azure Kubernetes Service or Azure Container Apps. Give the build identity publishing permissions and the runtime identity read-only access. With repository ABAC enabled, assign repository-specific roles and conditions rather than assuming legacy registry-wide roles provide data access.

For private deployments, place a Premium registry behind Azure Private Link and provide private DNS resolution to build agents and container hosts. Self-hosted agents need a route to the private endpoints; identity configuration alone is insufficient. Multi-region platforms can add geo-replicas near application clusters, while release automation checks that newly published artifacts are available before starting regional rollouts.

Security and operations services complement the delivery path. Defender for Cloud provides vulnerability findings, Key Vault supports customer-managed encryption keys and signing workflows, and Azure Monitor collects metrics and diagnostic logs. Combine these integrations with explicit release gates, signature verification, and tested recovery procedures. Neither a successful image push nor a clean vulnerability assessment establishes that an artifact is approved for production.

Azure Kubernetes Service (AKS)

AKS pulls private images using an authorized identity, commonly the cluster's kubelet managed identity. For example, grant that identity pull access and deploy an image using its ACR login server and digest. For ABAC-enabled registries, assign the appropriate repository reader role explicitly rather than relying on the standard attach-acr workflow.

Azure Container Apps

Azure Container Apps can authenticate to ACR using a managed identity configured for registry access. For example, a pipeline publishes an API image and updates a container app revision to reference the new digest. A private registry also requires a supported Container Apps networking configuration with working routing and DNS.

Azure DevOps

Azure Pipelines can build, test, and push images to ACR using a service connection and an identity with publishing permissions. For example, tag each build with its commit identifier, push the image, and pass its digest to a deployment stage. Use a network-connected self-hosted agent when the registry is accessible only through private endpoints.

Microsoft Defender for Cloud

Defender for Cloud can assess supported container images stored in ACR for vulnerabilities when the required Defender coverage is enabled. For example, a security team can review findings for a release image and require remediation of high-severity issues before deployment. Vulnerability assessment does not automatically patch images or block deployments; implement those actions in release and policy workflows.

Azure Key Vault

Premium registries can use customer-managed keys in Azure Key Vault for an additional encryption layer. For example, give the registry's managed identity the required key permissions and configure the registry to use an approved key. Key Vault can also support Notation signing workflows, but storing signatures in ACR does not itself enforce verification at deployment.

Azure Private Link

Azure Private Link provides private endpoints for Premium registries inside a virtual network. For example, an AKS cluster and self-hosted build agents can access a registry through private IP addresses after DNS and routing are configured. Authentication and repository authorization remain required even when public network access is disabled.

Azure Monitor

Azure Monitor exposes registry metrics, and diagnostic settings can send supported registry logs to a Log Analytics workspace. For example, investigate a deployment slowdown by filtering Transactions for throttled responses and splitting results by API name and region. Configure alerts for abnormal failures, capacity growth, and sustained throttling.

App Service

Azure Container Registry supplies custom container images to App Service. A web app or deployment slot can use its managed identity to pull a private image without storing registry credentials.

Artifact Signing

Container images stored in Azure Container Registry can be signed with Artifact Signing through the Notation plug-in. The signature is stored in the registry as an OCI artifact associated with the image digest, so deployment tooling can verify the exact image it pulls.

Azure Arc

Azure Container Registry can deploy a connected registry to an Azure Arc-enabled Kubernetes cluster through a cluster extension. The connected registry synchronizes selected repositories from the cloud registry and serves images locally.

Alternatives to Azure Container Registry in other clouds

AWS

Amazon Elastic Container Registry (Amazon ECR)Amazon Elastic Container Registry (Amazon ECR)

Amazon Elastic Container Registry and Azure Container Registry are managed services for storing and distributing container images and OCI artifacts. Amazon ECR bills for storage by usage and replicates images to other AWS Regions, while Azure Container Registry charges by tier with included storage and uses Premium to replicate a single logical registry across regions.

Compare fact by fact
Azure Container RegistryAmazon Elastic Container Registry (Amazon ECR)
Storage billingTier fee plus storage overagePer GB-month stored
Multi-region replicationOne registry across regions (Premium)Image copies in other AWS Regions
Repository access controlAzure RBAC with optional ABACAWS IAM policies
EC2 Image Builder

EC2 Image Builder and Azure Container Registry both automate container image builds and support publishing the results. EC2 Image Builder also builds Amazon Machine Images (AMIs) and can publish containers to Amazon ECR, while Azure Container Registry provides its own private registry and builds container images through ACR Tasks.

Compare fact by fact
Azure Container RegistryEC2 Image Builder
Image build outputsContainer imagesAMIs and container images
Container publishing destinationBuilt-in private registryAmazon ECR repositories
Base service chargeRecurring charge by registry tierNo separate Image Builder charge
Build executionManaged compute through ACR TasksConfigurable temporary EC2 instances

What is Azure Container Registry

2 min read

Azure Container Registry (ACR) stores and distributes container images and related Open Container Initiative (OCI) artifacts. It provides registry endpoints compatible with standard container tooling, so engineers can push and pull images using Docker, Podman, and other compatible clients. A registry stores artifacts; it does not run application containers. Deployment targets such as Azure Kubernetes Service and Azure Container Apps retrieve images from the registry and execute them.

Within a registry, repositories group artifacts by name, while tags identify versions or release channels. Names such as payments/api can communicate application ownership, but slash-delimited names do not create a repository hierarchy. Tags can be reassigned unless protected, so production deployments should reference image digests when they require an exact, reproducible artifact. Store Helm charts using OCI workflows rather than legacy Helm repositories.

Use Microsoft Entra identities for interactive access and managed identities or workload identity federation for automation where supported. Assign build pipelines permission to publish images and deployment identities permission to pull them. Repository permissions with attribute-based access control allow repository-level and namespace-based restrictions across all service tiers. Select role assignments that match the registry's permissions mode: legacy AcrPull and AcrPush assignments are not honored for repository access in RBAC Registry + ABAC Repository Permissions mode. Avoid using the shared registry admin account for normal production operations.

Choose Basic, Standard, or Premium according to required throughput, included storage, and networking capabilities. Standard provides more capacity than Basic, while Premium adds private endpoints, geo-replication, and higher concurrency. All tiers encrypt stored artifacts at rest, and zone redundancy is enabled by default in supported regions. Regional storage redundancy is not a substitute for an explicit multi-region availability design.

For private connectivity, use a Premium registry with Azure Private Link and configure DNS resolution for its registry and data endpoints. Build agents and container hosts must have both network reachability and valid authorization; configuring a managed identity alone does not establish connectivity. Test image pushes and pulls from each deployment network before disabling public network access.

ACR Tasks can build images in Azure on demand or through configured triggers, including source changes, schedules, and base-image updates. Artifact cache rules can make supported upstream images available through your registry, reducing repeated upstream downloads. Connected registry supports local distribution and synchronization for on-premises or remote container environments. These capabilities serve different purposes and require their own connectivity and credential planning.

Operate the registry as a deployment dependency. Place it near container hosts, use Premium geo-replication for multi-region distribution, and allow for replication delay before deploying newly published artifacts in another region. Monitor storage, failed authentication, and throttling; honor Retry-After responses and use exponential backoff with jitter. Integrate vulnerability assessment and signature verification into release controls rather than assuming image storage provides either automatically. Apply deliberate cleanup and recovery policies, and remember that geo-replication does not protect against intentional or accidental deletion replicated across regions.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.