| copyright |
|
||
|---|---|---|---|
| lastupdated | 2025-10-14 | ||
| keywords | error, problem, registry, docker login, mac, credentials, error saving credentials, error storing credentials, user name or passphrase you entered is not correct | ||
| subcollection | Registry | ||
| content-type | troubleshoot |
{{site.data.keyword.attribute-definition-list}}
{: #troubleshoot-docker-mac} {: troubleshoot} {: support}
[macOS]{: tag-macos} When you are using {{site.data.keyword.registrylong}}, docker login fails on a Mac with the following message Error saving credentials: error storing credentials - err: exit status 1, out: 'The user name or passphrase you entered is not correct'.
{: shortdesc}
You receive the following error message when you try to run the ibmcloud cr login command on a Mac:
{: tsSymptoms}
Error saving credentials: error storing credentials - err: exit status 1, out:
'The user name or passphrase you entered is not correct.'{: screen}
Docker for Mac has a problem that prevents your credentials from being stored in the macOS keychain. {: tsCauses}
You might be able to resolve the problem by restarting your Mac. If restarting your Mac doesn't solve the problem, you can disable the storage of logins in your Mac keychain: {: tsResolve}
- In your menu, click the Docker icon, select Preferences.
- Clear the Securely store Docker logins in macOS keychain checkbox.