Docker仓库上传镜像出现unauthorized unauthorized to access repository

编程知识 更新时间:2023-04-06 10:14:18

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

本文发布于:2023-04-06 10:14:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/22721732a117575506bc934704f58508.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:镜像   仓库   上传   Docker   access

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 48999文章数
  • 14阅读数
  • 0评论数