Azure Stack Hub 上的 Azure 容器注册表支持的命令
Azure Stack 上的 Azure 容器注册表 (ACS) 支持一部分 Azure 公共功能。 可以在概述中找到详细信息。
支持的 Azure 容器注册表 CLI 命令
命令 | 描述 |
---|---|
az acr check-health | 获取环境中的运行状况信息以及目标注册表(可选)。 |
az acr check-name | 检查 Azure 容器注册表名称是否有效且可供使用。 |
az acr create | 创建 Azure 容器注册表。 |
az acr credential renew | 重新生成 Azure 容器注册表的登录凭据。 |
az acr credential show | 获取 Azure 容器注册表的登录凭据。 |
az acr delete | 删除 Azure 容器注册表。 |
az acr import | 将映像从另一个容器注册表导入到 Azure 容器注册表。 导入不再需要 docker 拉取、docker 标记、docker 推送。 |
az acr list | 列出当前订阅下的所有容器注册表。 |
az acr login | 通过 Docker CLI 登录到 Azure 容器注册表。 |
az acr manifest list-metadata | 列出 Azure 容器注册表中的存储库的清单。 |
az acr repository delete | 删除 Azure 容器注册表中的存储库或映像。 |
az acr repository list | 列出 Azure 容器注册表中的存储库。 |
az acr repository show | 获取 Azure 容器注册表中的存储库或映像的属性。 |
az acr repository show-tags | 显示 Azure 容器注册表中的存储库的标记。 |
az acr repository untag | 取消标记 Azure 容器注册表中的映像。 |
az acr repository update | 更新 Azure 容器注册表中的存储库或映像的属性。 |
az acr show | 获取 Azure 容器注册表的详细信息。 |
az acr show-usage | 获取 Azure 容器注册表的存储使用情况。 |
az acr update | 更新 Azure 容器注册表。 |
az acr webhook create | 为 Azure 容器注册表创建 webhook。 |
az acr webhook delete | 从 Azure 容器注册表中删除 webhook。 |
az acr webhook get-config | 获取 webhook 的服务 URI 和自定义标头。 |
az acr webhook list | 列出 Azure 容器注册表的所有 webhook。 |
az acr webhook list-events | 列出 webhook 的最近事件。 |
az acr webhook ping | 触发 webhook 的 ping 事件。 |
az acr webhook show | 获取 webhook 详细信息。 |
az acr webhook update | 更新 Webhook。 |
不支持的可选参数
某些受支持的命令具有 Azure Stack Hub 不支持的可选参数。 下面列出了不支持的参数。
az acr create
--allow-trusted-services
--default-action
--identity
--key-encryption-key
--public-network-enabled
--workspace
--zone-redundancy
az acr update
--allow-trusted-services
--anonymous-pull-enabled
--data-endpoint-enabled
--default-action
--public-network-enabled
--sku