Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is v docker

docker login报错

Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is v docker
查了报错的原因其实根本无关就是登录方式不对
解决办法:

docker login

改成:

docker login -u username mirrors.***.net # username换成你的账户名,指定用户登录

就可以正常登陆了

你可能感兴趣的:(docker,容器)