admin管理员组文章数量:1794759
Docker仓库上传镜像出现unauthorized unauthorized to access repository
Docker仓库上传镜像出现:unauthorized: unauthorized to access repository的解决方法
root@BM1684-180:~# docker push 192.168.180.204:19080/ai-box/redis/soc:1.0
The push refers to repository [192.168.180.204:19080/ai-box/redis/soc]
50229a1335e3: Layer already exists
f3d92bfe600a: Layer already exists
15fb144574d8: Layer already exists
bca2357f91a7: Layer already exists
fdcf5ded3a5e: Layer already exists
388ba420b88d: Layer already exists
unauthorized: unauthorized to access repository: ai-box/redis/soc, action: push: unauthorized to access repository: ai-box/redis/soc, action: push
解决方法:
登录命令
docker login 192.168.180.204:19080
再次推送:
docker push 192.168.180.204:19080/ai-box/redis/soc:1.0
推送成功,即可在仓库管理平台上查看:
另外,如果是测试环境,也可将Harbor上的仓库设置为公开,也能解决此问题.
>> 更多技术问题可扫码学习交流:
若有收获,就点个赞吧
版权声明:本文标题:Docker仓库上传镜像出现unauthorized unauthorized to access repository 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686964033a122986.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论