Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The artifact cache feature of Azure Container Registry lets you cache container images in both public and private repositories.
Artifact cache enables faster and more reliable pull operations through Azure Container Registry (ACR), using features like geo-replication and Availability Zone support for higher availability and faster image pulls. Cached registries are accessible over private networks to align with firewall configurations and compliance standards.
Artifact cache addresses the challenge of pull limits imposed by public registries. We recommend authenticating your cache rules with your upstream source credentials. Then, you can pull images from the local ACR, helping to mitigate rate limits.
The artifact cache feature is available in Basic, Standard, and Premium service tiers. You can enable artifact cache rules in the Azure portal or by using Azure CLI.
When working with artifact caching, it's helpful to understand the following terminology:
Cache Rule: A rule you create to pull artifacts from a supported repository into your cache. A cache rule contains four parts:
Hello-World-Cache
.docker.io/library/hello-world
.hello-world
. The repository can't already exist inside the ACR instance.Credentials: A username and password set for the source registry. You require credentials to authenticate with a public or private repository. Credentials contain four parts:
When using artifact cache, keep in mind the following limitations:
Artifact cache currently supports the following upstream registries. Review the following table for details about which types of pulls are supported and how they can be used.
Warning
You must generate a credential set by using Azure CLI or the Azure portal to source content from Docker Hub.
Upstream registry | Support | Availability |
---|---|---|
Docker Hub | Supports authenticated pulls only. | Azure CLI, Azure portal |
Microsoft Artifact Registry | Supports unauthenticated pulls only. | Azure CLI, Azure portal |
AWS Elastic Container Registry (ECR) Public Gallery | Supports unauthenticated pulls only. | Azure CLI, Azure portal |
GitHub Container Registry | Supports both authenticated and unauthenticated pulls. | Azure CLI, Azure portal |
Quay | Supports both authenticated and unauthenticated pulls. | Azure CLI, Azure portal |
registry.k8s.io |
Supports both authenticated and unauthenticated pulls. | Azure CLI |
Google Container Registry | Supports both authenticated and unauthenticated pulls. | Azure CLI |
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Hantera containeravbildningar i Azure Container Registry - Training
Lär dig hur du använder Azure Container Registry för att lagra dina containeravbildningar och automatisera byggen och distributioner.
Certification
Microsoft Certified: Grunderna i Azure - Certifications
Visa grundläggande kunskaper om molnbegrepp, grundläggande Azure-tjänster samt funktioner och verktyg för hantering och styrning i Azure.