简体   繁体   English

Docker云存储库推送:在Fedora 23上未授权对请求资源的访问

[英]Docker cloud repository push: access to the requested resource is not authorized on Fedora 23

I've just come over from tutum and and am trying to deploy to a docker cloud repository. 我刚从tutum过来,正在尝试部署到docker云存储库。 I've created the repository and have tagged an existing image: 我已经创建了存储库并标记了一个现有图像:

docker tag deploy foo/rtb

When I attempt to push my tagged image up like so: 当我尝试将标记的图片向上推时,如下所示:

docker push foo/rtb

I get this: 我得到这个:

The push refers to a repository [docker.io/foo/rtb] (len: 0)
18118bb6b8ef: Preparing 
unauthorized: access to the requested resource is not authorized

The repository exists and I've logged in to docker. 存储库存在,我已经登录到docker。 Is there something I'm missing? 有什么我想念的吗?

Interestingly enough, if I try to delete the image I get an error like this: 有趣的是,如果我尝试删除图像,则会收到如下错误:

Error response from daemon: conflict: unable to delete 18118bb6b8ef 
(must be forced) - image is referenced in one or more repositories
Error: failed to remove images: [18118bb6b8ef]

Did you tag your image ? 您是否标记了图像?

docker build --tag docker.io/<yourdockerhubname>/<appname> .    
docker build --tag docker.io/moskalr/rtb  .


docker push  docker.io/<yourdockerhubname>/<appname>
docker push  docker.io/moskalr/rtb 

the push should respond with something which mentions the dockerhub image name 推送应以提及dockerhub映像名称的内容作为响应

I had been using docker 1.9.1. 我一直在使用docker 1.9.1。 That's the version in the Fedora 23 repo. 那是Fedora 23仓库中的版本。

The kind folks at docker tech support recommended I upgrade to the latest 1.10.3 docker技术支持的同事建议我升级到最新的1.10.3

Upgrading then doing 然后升级

docker logout

followed by 其次是

docker login

fixed everything up. 修复所有问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 docker 访问请求的资源未授权 - docker access to the requested resource is not authorized Docker 推“拒绝:请求访问资源被拒绝” - Docker push "denied: requested access to the resource is denied" 无法将 Docker 镜像推送到 Docker Hub; 请求访问资源被拒绝 - Cannot push Docker images to Docker Hub; requested access to the resource is denied Docker 推送到私有注册表错误 [拒绝:请求访问资源被拒绝] - Docker push to private registry error [denied: requested access to the resource is denied] 无法将Docker映像推送到gitlab:拒绝:请求的对资源的访问被拒绝 - Impossible to push docker images to gitlab: denied: requested access to the resource is denied Docker 推入 Jenkins - 拒绝:请求的资源访问被拒绝 - Docker push in Jenkins - denied: requested access to the resource is denied docker 推送错误“被拒绝:请求访问资源被拒绝” - docker push error "denied: requested access to the resource is denied" 错误:对于未经授权的 nodejs:未授权访问所请求的资源 - ERROR: for nodejs unauthorized: access to the requested resource is not authorized Docker请求访问资源被拒绝 - Docker requested access to the resource is denied 在 Elastic Beanstalk 中出现错误“存储库不存在或可能需要“docker login”:拒绝:请求的资源访问被拒绝 - Getting error `repository does not exist or may require 'docker login': denied: requested access to the resource is denied` in Elastic Beanstalk
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM