Händelser
17 mars 21 - 21 mars 10
Gå med i mötesserien för att skapa skalbara AI-lösningar baserat på verkliga användningsfall med andra utvecklare och experter.
Registrera dig nuDen här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk 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.
Varning
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 |
Händelser
17 mars 21 - 21 mars 10
Gå med i mötesserien för att skapa skalbara AI-lösningar baserat på verkliga användningsfall med andra utvecklare och experter.
Registrera dig nuUtbildning
Modul
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.
Certifiering
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.
Dokumentation
Registertjänstnivåer och funktioner - Azure Container Registry
Lär dig mer om funktioner och gränser (kvoter) på tjänstnivåerna Basic, Standard och Premium (SKU:er) i Azure Container Registry.
Konfigurera en privat slutpunkt med en privat länk - Azure Container Registry
Konfigurera en privat slutpunkt i ett containerregister och aktivera åtkomst via en privat länk i ett lokalt virtuellt nätverk. Åtkomst till privat länk är en funktion på Premium-tjänstnivån.
Behörigheter till lagringsplatser i Azure Container Registry - Azure Container Registry
Skapa en token för att bevilja och hantera lagringsplatsens begränsade behörigheter i ett containerregister. Token hjälper till att utföra åtgärder, till exempel hämta bilder, push-överföra bilder, ta bort bilder, läsa metadata och skriva metadata.