LoginSignup
3
1

More than 3 years have passed since last update.

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

Last updated at Posted at 2019-06-13

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
3
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1