karalabe / xgo

Go CGO cross compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error response from daemon: Get https://registry-1.docker.io/v2/karalabe/xgo-latest/manifests/latest: unauthorized: incorrect username or password

arden opened this issue · comments

commented

ardendeiMac:tale-api arden$ xgo .
Checking docker installation...
Client: Docker Engine - Community
Version: 18.09.1
API version: 1.39
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:33:12 2019
OS/Arch: darwin/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 18.09.1
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:41:49 2019
OS/Arch: linux/amd64
Experimental: true

Checking for required docker image karalabe/xgo-latest... not found!
Pulling karalabe/xgo-latest from docker registry...
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/karalabe/xgo-latest/manifests/latest: unauthorized: incorrect username or password
2019/03/10 14:47:47 Failed to pull docker image from the registry: exit status 1.

commented

按照网上说的说法,造成这个现象有很多原因,大家可以多尝试一下,下面贴出解决我问题的方法:

docker账户分为两个部分,一个是email,一个是dockerID,使用docker login登陆时要使用dockerid 就这么简单,哈哈

username:填写dockerID 密码不变

查看dockerID 可以登陆dockerhub, happylion 就是dockerID