I'm using Windows 10 and Docker Desktop Engine 19.03.5.
I'm trying to create an AWS ECR repository and push an image.
aws ecr get-login --no-include-email # successful
docker login -u AWS -p eyJwYXlsb2F... # failed
Error:
Error saving credentials: error storing credentials - err: exit status 1, out:
error storing credentials - err: exit status 1, out:Not enough memory resources are available to process this command.`
Enough memory and disk space.
On Windows 10: it's related to the Windows Credential Manager getting filled up over time with "git" entries - run this command and the issue fixed.