denied: requested access to the resource is denied 解决办法
Posted 海纳百川_有容乃大
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了denied: requested access to the resource is denied 解决办法相关的知识,希望对你有一定的参考价值。
往 dockerhub 上 push 本地镜像的时候 出现了下面这个提示:
denied: requested access to the resource is denied
解决办法:
在 dodker 命令行里登录 docker
步骤: 1、docker tag firstimage YOUR_DOCKERHUB_NAME/firstimage 2、docker push YOUR_DOCKERHUB_NAME/firstimage
一般在这一步的时候就会出现上面的错误提示:
就在这时,二话不说直接输入:docker login
接着输入账号、密码
再输入第 2 步的命令就可以了
以上是关于denied: requested access to the resource is denied 解决办法的主要内容,如果未能解决你的问题,请参考以下文章
denied: requested access to the resource is denied
denied: requested access to the resource is denied 解决办法
Dockerpush denied: requested access to the resource is denied
上传docker镜像被拒绝 denied: requested access to the resource is denied
Docker和K8s实战——往docker hub推送镜像出现denied: requested access to the resource is denied
docker上传镜像错误:errors: denied: requested access to the resource is denied unauthorized: authentication