Skip to content

Instantly share code, notes, and snippets.

@f9n
Last active September 4, 2019 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f9n/5157092650cca3e144fe9e589890b168 to your computer and use it in GitHub Desktop.
Save f9n/5157092650cca3e144fe9e589890b168 to your computer and use it in GitHub Desktop.
MacOS docker login problem

Problem

Error saving credentials: error storing credentials - err: exit status 1, out: The user name or passphrase you entered is not correct.

Resolution

  • Remove the line "credsStore": "osxkeychain" from ~/.docker/config.json
  • Deleting the file /usr/local/bin/docker-credential-osxkeychain

Reference

docker/for-mac#2295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment