Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Windows 10 Fix docker-credential-desktop not installed or not available in PATH

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"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.