Help us understand the problem. What is going on with this article?

UbuntuでAWS ECR にログインできない

More than 1 year has passed since last update.

ECRにログインする

$(aws ecr get-login --no-include-email --region ap-northeast-1)
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`

credential情報が間違っていないか?

aws configure list
      Name                    Value             Type    Location
      ----                    -----             ----    --------
   profile                <not set>             None    None
access_key     ****************PXP5 shared-credentials-file
secret_key     ****************ZEee shared-credentials-file
    region           ap-northeast-1      config-file    ~/.aws/config

間違っていない。。。

これで解決

$ apt-get remove golang-docker-credential-helpers
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away