求教一个 Docker 私有仓库登陆的问题

2015-07-12 11:37:13 +08:00
 c742435

用浏览器访问
https://dockerdomain:444/v2/
登陆后返回 “{}”
nginx log:
61.48.19.194 - bot [12/Jul/2015:03:32:56 +0000] "GET /v2 HTTP/1.1" 301 39 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:39.0) Gecko/20100101 Firefox/39.0"
61.48.19.194 - bot [12/Jul/2015:03:32:56 +0000] "GET /v2/ HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:39.0) Gecko/20100101 Firefox/39.0"

用命令行
docker login -u username -p password -e mail@mail.com localhost:444
返回FATA[0000] Error response from daemon: (Code: 404; Headers: map[Server:[nginx/1.6.2] Date:[Sun, 12 Jul 2015 03:32:31 GMT] Content-Type:[text/plain; charset=utf-8] Content-Length:[19] Connection:[keep-alive] Docker-Distribution-Api-Version:[registry/2.0]])

nginx log:
172.17.42.1 - - [12/Jul/2015:03:32:31 +0000] "GET /v2/ HTTP/1.1" 401 194 "-" "docker/1.6.2 go/go1.4.2 kernel/3.10.0-123.9.3.el7.x86_64 os/linux arch/amd64"
172.17.42.1 - - [12/Jul/2015:03:32:31 +0000] "GET /v1/_ping HTTP/1.1" 404 19 "-" "docker/1.6.2 go/go1.4.2 kernel/3.10.0-123.9.3.el7.x86_64 os/linux arch/amd64"
172.17.42.1 - - [12/Jul/2015:03:32:31 +0000] "POST /v1/users/ HTTP/1.1" 401 194 "-" "Go 1.1 package http"
172.17.42.1 - bot [12/Jul/2015:03:32:31 +0000] "GET /v1/users/ HTTP/1.1" 404 19 "-" "docker/1.6.2 go/go1.4.2 kernel/3.10.0-123.9.3.el7.x86_64 os/linux arch/amd64"

不知道该怎么办了,求大神不吝赐教。

3298 次点击
所在节点    Docker
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/205099

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX