Solvedddev In WSL2 ddev start fails at docker-credential-desktop.exe, "error listing credentials"

On a Finnish Windows 10 Pro, I went through the tutorial and everything works, except when I run ddev start, I get:

docker.credentials.errors.StoreError: Credentials store docker-credential-desktop.exe exited with "error listing credentials - err: exit status 1, out: 'Elementtiä ei löydy.'".
Failed to start firsttest: failed to start ddev-ssh-agent: Failed to run docker-compose [-f /home/kari/.ddev/ssh-auth-compose.yaml -p ddev-ssh-agent up --build --force-recreate -d], err='exit status 255', stdout='', stderr='Creating volume "ddev-ssh-agent_dot_ssh" with default driver
Creating volume "ddev-ssh-agent_socket_dir" with default driver
Building ddev-ssh-agent
[13734] Failed to execute script docker-compose
Traceback (most recent call last):
File "site-packages/docker/credentials/", line 80, in _execute
File "", line 411, in check_output
File "", line 512, in run
subprocess.CalledProcessError: Command '['/mnt/c/Program Files/Docker/Docker/resources/bin/docker-credential-desktop.exe', 'list']' returned non-zero exit status 1.

"Elementtiä ei löydy." is Finnish for "The element can't be found".

The distro is Ubuntu 20.04 LTS, Docker Desktop is

34 Answers

✔️Accepted Answer

I had to set "credsStore": "" in my ~/.docker/config.json ... it was previously set to credentials.exe

Other Answers:

Oh, you might try just docker logout as well. Some versions of docker have had the most annoying habit of not being able to pull images while logged into, and logging out solves it.

Hi @karikaariainen - There was a version of Docker Desktop that created a bogus .docker/config.json, see docker/for-mac#3785 (comment)

I think you might have that. I imagine a docker reset to factory defaults would fix this, also perhaps editing your (host-side) ~/.docker/config.json.

For @BennyAlex and anyone else who is still having this issue

This error is due to a questionable Docker update for Windows (not specific to ddev), the Docker instance in yout WSL uses the Windows credentials manager and stores your credentials in ~/.docker/config.json.

Try the follwing command from inside WSL:

docker logout

If that does not work try it again as sudo (not ideal).

As a last resort you can reset Docker to factory defaults from Docker Desktop (from Windows) and everything should work fine.

Related Issues:

ddev In WSL2 ddev start fails at docker-credential-desktop.exe, "error listing credentials"
I had to set credsStore: in my ~/.docker/config.json .. it was previously set to credentials.exe ...
ddev Create a service configuration for varnish
Hi this is how we are doing this at wegewerk: What happened (or feature request): Edit: @stborchert ...
react native modal The statusbar turns white when the modal is open (only on certain devices)
statusBarTranslucent property has been added to Modal of RN 0.62 I think this problem has been solve...
react native modal Error property 'left' is not supported by native animated module when using swipe
This is not due to react native limitations Keeping it as simple as the above ...
react native modal Tap outside to close
@Doko-Demo-Doa according to the source code haven't implemented yet there is no close event on backd...
react native modal How to avoid keyboard for bottom half modal
FWIW for those coming from Google Let's say we have a bottom half modal with some TextInput ...
react native modal How could we add swipe down to close function?
+1 for this feature please Hi I love the way this module:
react native modal error: bundling failed: Error: Unable to resolve module `./animations`
this command fixed my issue npm start -- --reset-cache I upgraded my react-native-modal from 7.0.2 t...
react native modal modal not begin from bottom
<Modal style={{ margin: 0 }}>....</Modal> can fix your problem I try to make modal that begin from b...
eslint plugin react error Parsing error: Unexpected token <
Seems your problem come from here By doing this you are always installing the latest ESLint release ...
eslint plugin react Missing prop validation in React.FunctionComponent
Support or ignore prop-types in mixed JS/TypeScript projects Tell us about your environment ESLint V...
eslint config standard Error: Cannot find module 'eslint-config-standard'
@FNGR2911 I know the reason now because the es-lint I implemented is global installed so it looks fo...
drupal vm Composer install fails without proper swap
or you can create a swap file sudo fallocate -l 2G /swapfile sudo chmod 600 /swapfile sudo mkswap /s...
gitsome Command "python egg_info" failed with error code 1 in /tmp/pip-build-7SrToZ/gitsome/
I had the same problem on OSX and Solve my issue (I have both python versions installed). ...
android_guides A good example of background service getting location updates
@veda2vratha thank you very much I have tried these examples that you have sent to me Actually they ...
standard Specify eslint-env globally?
Put it into .eslintrc file in your /tests folder like this. Is there a way to set ESLint environment...
eslint plugin react False positive display-name when using forwardRef
I have pretty the same issue with React.memo and as it was explained I did the same for forwardRef -...
standard Cannot find module 'babel-eslint' (eslint/undefined)
Doing npm install babel-eslint --save-dev seems to fix the issue as well. Using this as a local depe...
eslint plugin react jsx-indent and indent require the same indentation amount
Thank very much for the quick reply @ljharb - using your suggestion I was able to get something work...
drupal vm Failing to install Drupal on macOS High Sierra - NFS filesystem issues
@ajhoddinott OMG That works thank you! For explicit instructions on Mac OS High Sierra open the app ...
lando Unhandled rejection Error: problem parsing null.tooling.cache. Ensure it is valid JSON!
Hi I had the same issue just now and apparently I only missed adding the name on my .lando.yml file ...
eslint plugin react full classes compatibility (with static properties)
@benmarten Yep adding parser: babel-eslint to my .eslintrc and installing it solved it for me as wel...
eslint config standard Release 12.0.0
Does the PR consider also this issue when using eslint 5? As ESLint 5.0.0 is now released it would b...
standard [standard] Parsing error: Unexpected token =
I wasn't running standard via script but with the VS Code plugin So the issue is at another place Th...
mailcatcher Ruby 1.9 no longer supported due to Mailcatcher's dependencies?
Try this which worked for me on ruby 1.9.3-p551 with an empty gemset: Despite this error: ...
standard parentheses around arrow function single argument
This is probably going to change in the next release of standard Stay tuned folks. ...
eslint plugin react Getting no-unused-vars for "render" and imported components
Looking at your .eslintrc file it seems you do not have enabled any rules in eslint-plugin-react ...
eslint plugin react no-unused-prop-types false positives
Counting used nextProps in componentWillReceiveProps is a clear win for this rule certainly. ...
standard Release proposal: standard v8
@dcousens This doesn't look like it has an easy answer @feross I think we need a decision? Yeah tell...
lando lando does not start
On ubuntu 16.04 docker rm landoproxyhyperion5000gandalfedition_proxy_1 helped me to ged rid of this ...
eslint plugin react Non-component functions that return JSX
I am getting react/display-name warnings for the following anonymous stateless function syntax: Asid...
lando Permissions issue with Docker
I also ran into this on: macOS 11.1 (Big Sur) Lando v3.0.25 I fixed with sudo chown -R username /Use...
minishift oc login -u system:admin password?
I am getting this: General information Minishift version: minishift v1.21.0+a8c8b37 OS: macOS Hyperv...
lando Unable to 'lando pull' pantheon site
This worked for me: lando terminus auth:login --machine-token=ABCDEFGHIJKLMNOPQRSTUVQXYZ (don't stea...
minishift Minishift on Windows fails to start with error "Not able to populate hyperv-virtual-switch flag"
If you really need the latest version you could try to use: and see if it continues. ...
eslint plugin react Prop type object if forbidden [react/forbid-prop-types]
By using shape or objectOf instead of object In this case PropTypes.shape({ root: PropTypes.string.i...
drupal vm 503 Service Unavailable
@TheNugg Even I was facing the same issue I was not able access Drupal website it was throwing 503 e...
lando Please add Docs for Drupal's "Drush" CLI Command Debugging via XDebug
This is what worked for me: Then turning on Listen for PHP Debug Connections in PHPStorm and calling...
xterm.js How to use with "colors" lib?
@Tyriar ok I figured it out. Chalk is doing some auto detection to see what it should support ...
eslint plugin react react/display-name false positive when wrapping inline function with React.memo
Haha don't worry In 7.12.3 react/display-name gives a false positive if you wrap a function directly...
eslint plugin react Rule require-default-props does not support default parameters in stateless function
@steida There's no need for a link - by spec default values are re-evaluated on every invocation of ...
eslint plugin react [prop-types] Throw `is missing in props validation` when reassign `this.props` to `props`
Hello! Got an strange behavior when assign this.props to props it will throw an error message is mis...
eslint plugin react TypeError: Cannot read property 'name' of null
I have same problem. Version 7.20.4 seems to crash with the following error in a non-tsx file I have...
lando mysql stop connecting after lando restart
I think I found a solution I had same issue multiple times and I was forced to completely uninstall ...
n8n Reverse Proxy
Forget that found a helpful thread on server-sent events and nginx I added proxy_buffering off; prox...
standard New Rule: ES6 sort-imports
For me alphabetical or length-based sorting is a waste of potential information I try to encode some...
eslint plugin react jsx-indent behavior with { bool && jsx } syntax
Ternaries are also an issue We'd like to do: But this currently errors instead wanting: Which IMO is...
lando Support Xdebug 3
This worked for me PHPStorm 2020.3 drupal9 Xdebug 3 is out and comes with a lot of performance optim...
standard Remove no-return-await as it sets traps during code refactoring and causes inferior stack traces
I value your input @CherryDT So your claim is that the no-return-await rule is bad practice and that...
eslint config standard Error while running ESLint
Hi I'm still receiving this error after updating all of my dependencies So I've been using create-re...