ECR LOGIN error storing credentials

Myron Zaiets
Terraform/AWS tips
Published in
Nov 22, 2022

Hi,

Here I want to raise a very common error, which is happening when you use command — aws ecr get-login.

This command retrieves an authentication token and authenticates your Docker client to your registry. Sometimes you can face with this error while running this command, error looks this way:

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

To troubleshoot it there is a couple of methods, but I will introduce one, which is always working.

To solve it, you need to find a file ~/.config/docker/config.json. And then remove the credHelpers line from this file.

After next aws ecr get-login it should work fine.

That’s all.

See you later.

--

--