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