上传docker镜像被拒绝 denied: requested access to the resource is denied

时间:2019-04-11 01:22:08   收藏:0   阅读:2441

镜像构建完毕的时候 准备传入自己hub发现 被拒绝

技术图片

报了denied: requested access to the resource is denied异常,意思是没有权限

解决的办法是:使用 docker tag改名字

docker tag REPOSITORY名字 dockerhub的"用户名/仓库名"
docker push "用户名/仓库名"

 

技术图片

 

解决方案 参考

https://stackoverflow.com/questions/41984399/denied-requested-access-to-the-resource-is-denied-docker

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!