[ docker login | Error saving credentials: error storing credentials - err: exec: "docker-credential-desktop.exe": executable file not found in $PATH, ... ]

solve:
vim ~/.docker/config.json
{
"credsStore": "desktop.exe", // 这行是问题根源,指定了不存在的工具
"auths": {}
}
->
{
"auths": {}
}
# 重新登陆

浙公网安备 33010602011771号