ECRのログインで error getting credentials - err: exit status 1, out: `User interaction is not allowed.`
$(aws ecr get-login --no-include-email --region ap-northeast-1)
ecrにログインしようとしたら、こんなエラーメッセージがでてログインできず。
error getting credentials - err: exit status 1, out: `User interaction is not allowed.`
DockerのpreferenceのSecurely store docker logins in macOS keychain
のチェックがついていたので外して解決。
参考にしたもの github.com