我已经设置并运行了一段时间的所有 AWS CLI 和 docker。我将命令代码更改为全部从 bash 文件运行。但是,在运行 docker push
时出现此错误 Error saving credentials: error storing credentials - err: exit status 1, out: `not implemented
我尝试了 AWS_DEFAULT_PROFILE="aaa"docker push ...
和 docker push --profile=aaa
但它们都不起作用。我在 Google 上没有看到任何类似“未实现”的问题!
感谢任何帮助!
最佳答案
这是我找到的解决方案,感谢 docker login: error storing credentials `The stub received bad data.`
.docker/config.json 看起来像这样:
{
"auths" : {
},
"stackOrchestrator" : "swarm",
"HttpHeaders" : {
"User-Agent" : "Docker-Client/19.03.8 (darwin)"
},
"credsStore" : "ecr-login"
}
通过删除 "credsStore": "ecr-login"
它成功了!
关于amazon-web-services - Docker 推送错误保存凭据 : error storing credentials - err: exit status 1, 输出: `not implemented`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70322012/