V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
c742435
V2EX  ›  Docker

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

  •  
  •   c742435 · 2015-07-12 11:37:13 +08:00 · 3320 次点击
    这是一个创建于 3454 天前的主题,其中的信息可能已经有所发展或是发生改变。

    用浏览器访问
    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"

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5801 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:15 · PVG 14:15 · LAX 22:15 · JFK 01:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.