代码之家  ›  专栏  ›  技术社区  ›  Jeff Tian

无法登录macOS上的Docker帐户

  •  0
  • Jeff Tian  · 技术社区  · 7 年前

    $ docker login
    Login with your Docker ID to push and pull images from Docker Hub. If 
    you don't have a Docker ID, head over to https://hub.docker.com to 
    create one.
    $ Username: jefftian
    $ Password:
    Error saving credentials: error storing credentials - err: no 
    credentials server URL, out: `no credentials server URL`
    

    分析:

    $ ls ~/.docker
    config.json daemon.json machine
    
    $ cat ~/.docker/config.json
    {
      "auths" : {
        "unicareer.azurecr.io" : {
    
        },
        "https://unicareer.azurecr.io" : {
    
        }
      },
      "HttpHeaders" : {
        "User-Agent" : "Docker-Client/18.09.0 (darwin)"
      },
      "credSstore" : "osxkeychain",
      "stackOrchestrator" : "swarm",
      "credsStore" : "osxkeychain"
    }
    

    下一步我该怎么办?

    1 回复  |  直到 7 年前
        1
  •  2
  •   Jeff Tian    7 年前

    哎呀,是我的docker守护进程没有启动造成的。