用浏览器访问
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 [email protected] 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"
不知道该怎么办了,求大神不吝赐教。