Docker和K8s实战问题集——往docker hub推送镜像出现denied: requested access to the resource is denied
Posted iaiti
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker和K8s实战问题集——往docker hub推送镜像出现denied: requested access to the resource is denied相关的知识,希望对你有一定的参考价值。
解决方案可以在docker官方网站搜索该报错的关键字
docker hub推送镜像出现
denied: requested access to the resource is denied
https://forums.docker.com/t/docker-push-error-requested-access-to-the-resource-is-denied/64468
I changed the process to do this, and it solved it for me…
docker login -u "myusername" -p "mypassword" docker.io
docker push myusername/myimage:0.0.1
I also added myusername as a contributer to by docker hub repo. I’m not sure whether or not this final step is needed as I was trying everything at the time to get it to work.
docker push使用的名称要与dokcer hub登录账号名对应,修改成对应的就ok了
一些优质的内容过于优质甚至连看到看不到,这部分的资料本身写的人比以往烂大街的要少很多,
近年来公众号互相抄袭以标题档吸引人不说了,还要开始了公众号这种恶心的做法。
其实用外文的网站搜索基本就能找到答案,所以授人以鱼不如授人以渔。
以上是关于Docker和K8s实战问题集——往docker hub推送镜像出现denied: requested access to the resource is denied的主要内容,如果未能解决你的问题,请参考以下文章
Docker和K8s实战——往docker hub推送镜像出现denied: requested access to the resource is denied
Docker和K8s实战问题集——安装Centos7时发生VirtualBox运行虚拟电脑时发生严重错误
Docker和K8s实战——Docker镜像和容器,K8S的pod的关系和思想
Docker和K8s实战——Docker镜像和容器,K8S的pod的关系和思想