ECR Error saving credentials: error storing credentials - err: exit status 1, out: `not implemented`

Build is failing with an error, but "Test Connection" button succeeds?

Build Log Error

Cannot login to registry <snip>.dkr.ecr.eu-west-1.amazonaws.com
An error occurred while executing 'docker login -u "******" --password-stdin <snip>.dkr.ecr.eu-west-1.amazonaws.com':


Error saving credentials: error storing credentials - err: exit status 1, out: `not implemented`

Test Connection Succeeds

 

It looks like there are valid credentials in ~/.ecr/cache.json and an erc login command succeeds.

# eval $(aws ecr get-login --no-include-email)
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

 

TeamCity Professional 2018.2.3 (build 61544)

 

0
2 comments

try using the fully qualified image name in the docker build steps, ie. with the repo up front:

9876543210.dkr.ecr.eu-west-1.amazonaws.com/acme-amazing-image:latest
0

Hi Greg,

 

I didn't really understand your last message. Are you answering it that it should work? Or are you specifying something about the initial message?

 

The "not implemented" error seems to come from docker itself, which is quite weird. If the problem is still going on, please report back for further review.

0

Please sign in to leave a comment.