我尝试拉我的Docker Image:
Trying to pull repository myrepo:5000/ubuntu ... not found
Error: image ubuntu:latest not found
图片在我的回购中:
root@e65daf20372e:/var/lib/registry/docker/registry/v2/repositories# ls
busybox ubuntu
日志显示:
10.0.0.xx - - [17/Dec/2015:10:18:55 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "docker/1.8.2 go/go1.4.2 kernel/3.10.0-229.20.1.el7.x86_64 os/linux arch/amd64"
10.0.0.xx - - [17/Dec/2015:10:18:55 +0000] "GET /v1/repositories/ubuntu/images HTTP/1.1" 404 19 "" "docker/1.8.2 go/go1.4.2 kernel/3.10.0-229.20.1.el7.x86_64 os/linux arch/amd64"
所以我在搜索图片时遇到了404
- 错误,但是在/v1
搜索时,图片的路径描述了/v2
这是问题,我该如何解决?
答案 0 :(得分:1)
您的私人存储库密码是否受到保护?当真正的问题是用户未经过身份验证时,我已经在已知的好标签上看到了错误404,即' docker login https://myrepo:5000'