##问题
在使用docker desktop登陆的是时候,有时候会遇到这种问题:在网页端可以正常登陆,但是授权给desktop 却提示:“You are signed out XXX”,具体如下:
使用powershell登陆的时候,也报错;如下
Error saving credentials: error storing credentials - err: exit status 1, out: `status code not OK but 500: {"message":"getting credential helper update: Post \"https://hub.docker.com/v2/users/login?refresh_token=true\": dialing hub.docker.com:443 host via direct connection because static system has no HTTPS proxy: connecting to 108.160.162.102:443: dial tcp 108.160.162.102:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."}
{"message":"getting credential helper update: Post \"https://hub.docker.com/v2/users/login?refresh_token=true\": dialing hub.docker.com:443 host via direct connection because static system has no HTTPS proxy: connecting to 108.160.162.102:443: dial tcp 108.160.162.102:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."}`
解决
这个问题其实是因为网络不通,在浏览器上正常访问,很可能是因为自己安装的有代理,可以访问hub.docker.com/ , 但是这个只对浏览器生效。自己电脑并没有这种代理,要解决这个问题,需要在自己的电脑上也安装对应的代理。具体如何代理涉及到科学上网,还需要自行百度……
其他问题
如果是其他问题可以在这里找到解决方案: docker for mac