【问题标题】:Docker push Error saving credentials: error storing credentials - err: exit status 1, out: `not implemented`Docker推送错误保存凭据:错误存储凭据-错误:退出状态1,输出:`未实现`
【发布时间】:2022-01-16 04:17:49
【问题描述】:

我已经完成了所有 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 上没有看到任何类似的问题,例如“未实施”!

感谢任何帮助!

【问题讨论】:

标签: amazon-web-services docker docker-push


【解决方案1】:

这是我找到的解决方案,感谢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" 它起作用了!

【讨论】:

    猜你喜欢
    • 2022-08-08
    • 1970-01-01
    • 2020-03-08
    • 2020-07-03
    • 1970-01-01
    • 2021-03-24
    • 1970-01-01
    • 2021-02-03
    • 2020-10-01
    相关资源
    最近更新 更多