Azure 容器注册表 SKUAzure Container Registry SKUs

Azure 容器注册表 (ACR) 分为多个服务层级(称为“SKU”)。Azure Container Registry (ACR) is available in multiple service tiers, known as SKUs. 这些 SKU 提供可预测的定价和多个选项,用来适应你在 Azure 中的专用 Docker 注册表的容量和使用模式。These SKUs provide predictable pricing and several options for aligning to the capacity and usage patterns of your private Docker registry in Azure.

SKUSKU 说明Description
基本Basic 供开发者了解 Azure 容器注册表的入口点(已优化过成本)。A cost-optimized entry point for developers learning about Azure Container Registry. 基本注册表的编程功能(例如 Azure Active Directory 身份验证集成映像删除Webhook)与标准注册表和高级注册表相同。Basic registries have the same programmatic capabilities as Standard and Premium (such as Azure Active Directory authentication integration, image deletion, and webhooks). 但其附带的存储和映像吞吐量最适合使用较少的场景。However, the included storage and image throughput are most appropriate for lower usage scenarios.
StandardStandard 标准注册表的功能与基本注册表相同。不同之处在于,前者附带更多的存储和映像吞吐量。Standard registries offer the same capabilities as Basic, with increased included storage and image throughput. 标准注册表应能够满足大部分生产方案的需求。Standard registries should satisfy the needs of most production scenarios.
高级Premium 高级注册表附带的存储和并发操作数最多,支持大容量方案。Premium registries provide the highest amount of included storage and concurrent operations, enabling high-volume scenarios. 除了提高映像吞吐量外,高级注册表还添加了异地复制等功能,用于跨多个区域管理单个注册表。In addition to higher image throughput, Premium adds features such as geo-replication for managing a single registry across multiple regions.

基本 SKU、标准 SKU 和高级 SKU 均提供相同的编程功能。The Basic, Standard, and Premium SKUs all provide the same programmatic capabilities. 它们也全都从完全由 Azure 托管的映像存储中受益。They also all benefit from image storage managed entirely by Azure. 选择的 SKU 级别越高,性能和可缩放性就越高。Choosing a higher-level SKU provides more performance and scale. 使用多个服务层级,你可以从“基本”层级开始,然后随着注册表使用量增长转换到“标准”和“高级”层级。With multiple service tiers, you can get started with Basic, then convert to Standard and Premium as your registry usage increases.

SKU 功能和限制SKU features and limits

下表详细介绍了“基本”、“标准”和“高级”服务层级的功能和限制。The following table details the features and limits of the Basic, Standard, and Premium service tiers.

资源Resource 基本Basic 标准Standard 高级Premium
存储1Storage1 10 GiB10 GiB 100 GiB100 GiB 500 GiB500 GiB
最大映像层大小Maximum image layer size 200 GiB200 GiB 200 GiB200 GiB 200 GiB200 GiB
每分钟读取操作数2、3ReadOps per minute2, 3 1,0001,000 3,0003,000 10,00010,000
每分钟写入操作数2、4WriteOps per minute2, 4 100100 500500 2,0002,000
下载带宽 (MBps)2Download bandwidth MBps2 3030 6060 100100
上传带宽 (MBps)2Upload bandwidth MBps2 10 个10 20 个20 5050
WebhookWebhooks 22 10 个10 500500
异地复制Geo-replication 空值N/A 空值N/A 支持Supported
内容信任Content trust 空值N/A 空值N/A 支持Supported
客户管理的密钥Customer-managed keys 空值N/A 空值N/A 预览Preview
存储库范围内的权限Repository-scoped permissions 空值N/A 空值N/A 预览Preview
• 令牌• Tokens 空值N/A 空值N/A 20,00020,000
• 范围映射• Scope maps 空值N/A 空值N/A 20,00020,000
• 每个范围映射的存储库• Repositories per scope map 空值N/A 空值N/A 500500

1指定的存储空间上限是每层包含的存储量。1The specified storage limits are the amount of included storage for each tier. 对于超出这些限制的图像存储,将每日针对每 GiB 进行额外收费。You're charged an additional daily rate per GiB for image storage above these limits. 有关费率的信息,请参阅 Azure 容器注册表定价For rate information, see Azure Container Registry pricing.

2读取操作数写入操作数带宽是最小估计值。2ReadOps, WriteOps , and Bandwidth are minimum estimates. Azure 容器注册表根据使用需求努力提高性能。Azure Container Registry strives to improve performance as usage requires.

3docker pull 根据映像中的层数和清单检索行为转换为多个读取操作。3A docker pull translates to multiple read operations based on the number of layers in the image, plus the manifest retrieval.

4docker push 根据必须推送的层数转换为多个写入操作。4A docker push translates to multiple write operations, based on the number of layers that must be pushed. docker push 包含 ReadOps,用于检索现有映像的清单。A docker push includes ReadOps to retrieve a manifest for an existing image.

更改 SKUChanging SKUs

可以通过 Azure CLI 或在 Azure 门户中更改注册表的 SKU。You can change a registry's SKU with the Azure CLI or in the Azure portal. 你可以随意在各种 SKU 之间切换,只要你要切换到的 SKU 具有所需的最大存储容量即可。You can move freely between SKUs as long as the SKU you're switching to has the required maximum storage capacity.

Azure CLIAzure CLI

若要使用 Azure CLI 在各种 SKU 之间切换,请使用 az acr update 命令。To move between SKUs in the Azure CLI, use the az acr update command. 例如,若要切换到高级 SKU,请使用以下命令:For example, to switch to Premium:

az acr update --name myregistry --sku Premium

Azure 门户Azure portal

在 Azure 门户中的容器注册表“概述” 中,选择“更新” ,然后从“SKU”下拉列表中选择一个新 SKU 。In the container registry Overview in the Azure portal, select Update, then select a new SKU from the SKU drop-down.

在 Azure 门户中更新容器注册表 SKU

定价Pricing

有关每个 Azure 容器注册表 SKU 的定价信息,请参阅容器注册表定价For pricing information on each of the Azure Container Registry SKUs, see Container Registry pricing.

有关数据传输定价的详细信息,请参阅带宽定价详细信息For details about pricing for data transfers, see Bandwidth Pricing Details.

后续步骤Next steps

Azure 容器注册表 UserVoiceAzure Container Registry UserVoice

ACR UserVoice 中提交新功能建议。Submit on new feature suggestions in ACR UserVoice.