You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Docker推送至Azure容器注册表时遇unauthorized认证错误

ACR推送IoT Edge模块镜像遇权限问题

我正在遵循Azure官方教程开发基于Linux容器的IoT Edge模块,已创建名为myazureregistry的Azure容器注册表(ACR)。执行以下命令推送示例模块时:

sudo docker push myazureregistry.azurecr.io/filtermodule:0.0.1-amd64

遇到错误:

unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.

我已查看相关说明页面,了解到推送镜像需要授权身份认证,但我已经通过以下命令成功登录ACR:

sudo az acr login --name myazureregistry

2023年4月9日更新:我查看了ACR角色权限说明,我的Contributor角色应该允许推送镜像,权限配置截图如下:
权限截图

请问我遗漏了什么?

内容的提问来源于stack exchange,提问作者Sheldon

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.25 14:25:08