Can't push image to Amazon ECR - fails with “no basic auth credentials”

后端 未结 30 2122
旧巷少年郎
旧巷少年郎 2020-12-02 05:07

I\'m trying to push a docker image to an Amazon ECR registry. I\'m using docker client Docker version 1.9.1, build a34a1d5. I use aws ecr get-login --regi

30条回答
  •  感动是毒
    2020-12-02 05:49

    In my case this was a bug with Docker for Windows and their support for the Windows Credential Manager.

    Open your ~/.docker/config.json and remove the "credsStore": "wincred" entry.

    This will cause credentials to be written to the config.json directly. You'll have to log in again afterwards.

    You can track this bug through the tickets #22910 and #24968 on GitHub.

提交回复
热议问题