- 📚 相关推荐文章
- ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO)解决办法 推荐
- spring框架报错:java.lang.NoClassDefFoundError: orgspringframeworkaopTargetSource 推荐
- Spring框架中@Resource注解报错解决方案 推荐
- Spring框架(SpringBoot)中redis报错(Could not get a resource from the pool、java.net.SocketTimeoutException) 推荐
- 拉康经典的镜像理论对我的启发 推荐

Docker发布镜像报错:denied: requested access to the resource is denied
Error:denied: requested access to the resource is denied # 拒绝:请求的资源访问被拒绝
报错原因:问题很明显,要发布的镜像的资源不是你自己的,大概率是打tag的时候,没有先登录,或者帐号shell脚本写的用户是别人的,自然下载不了也上载不了咯
解决方案:
先登录镜像仓库,后打tag,再push
登录harbor:
Docker login 10.1.*.* -u admin -p ***
推送机器镜像prepare:
docker tag d287f21ea214 10.1.*.*/library/common/jdk:8
推送镜像:
docker push 10.1.*.*/library/common/jdk:8 ## 版本号不加默认latest
👁️ 阅读量:0
© 版权声明:本文《Docker发布镜像报错:denied: requested access to the resource is denied》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686964248a410312.html。