When try to run AWS Lambda locally on windows:
sam local invoke
I got the following error:
Invoking app.lambda_handler (python3.8)
...
raise errors.InitializationError(
docker.credentials.errors.InitializationError: docker-credential-desktop not installed or not available in PATH
The solution is to fix typo in the ~/.docker/config.json
.
Fix credsStore
to credStore
:
{"credStore":"desktop","stackOrchestrator":"swarm"}
+1