[英]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.