In the .docker/config.json there is the credStore attribute, which apparently the documentation is meant to point to an external credential store like the native keychain of an OS, to look out for the credentials of a registry to push and pull images to and from.
But I could not find the meaning after researching the value desktop for that attribute. I am unsure whether I added it automatically by some configurations I did earlier.
"credsStore": "desktop"