Docker login fails returning “The stub received bad data” on Windows when using awscli v2

fmchanprogrammingLeave a Comment

Error saving credentials: error storing credentials - err: exit status 1, out: 'The stub received bad data.'

suspect that the error occurred due to docker upgraded.

Solution:
Go to C:\Users\<user.name>\.docker\config.json and remove the "credsStore": "wincred" line and save it

Leave a Reply

Your email address will not be published. Required fields are marked *