Dockerregistry:无法find图像
我试图拉我的Docker镜像:
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"
所以我在search图像时遇到了404
错误,但在/v1
search,而图像的path描述为/v2
这是问题,我该如何解决?
您的私人存储库密码是受保护的 当真正的问题是用户没有通过validation,即' docker login https:// myrepo:5000 '