Issue is that the cli lacks access to the keychain
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 123456789112.dkr.ecr.us-west-2.amazonaws.com
Error saving credentials: error storing credentials - err: exit status 1, out: `User interaction is not allowed.`
Fix with:
security -v unlock-keychain