Why is docker login
on my Mac failing when I use Container Registry?
macOS When you are using IBM Cloud® Container Registry, 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'
.
You receive the following error message when you try to run the ibmcloud cr login
command on a Mac:
Error saving credentials: error storing credentials - err: exit status 1, out:
'The user name or passphrase you entered is not correct.'
Docker for Mac has a problem that prevents your credentials from being stored in the macOS keychain.
You might be able to resolve the problem by restarting your Mac. If the restart doesn't solve the problem, you can disable the storage of logins in your Mac keychain:
- In your menu, click the Docker icon, select Preferences.
- Clear the Securely store Docker logins in macOS keychain checkbox.