キーチェーンがアンロックされていない
キーチェーンをアンロックしてください 。
security unlock-keychain -p password
docker-credential-helperがインストールされていない
その場合、以下のようなエラーがでるようです。
Error saving credentials: error storing credentials - err: exec: "docker-credential-osxkeychain": executable file not found in $PATH, out: ``
docker-credential-helperをインストールしてください。
brew install docker-credential-helper