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 https://www.ddev.com/ddev-local/ddev-wsl2-getting-started/ 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/store.py", line 80, in _execute
File "subprocess.py", line 411, in check_output
File "subprocess.py", 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.
etc.

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

The distro is Ubuntu 20.04 LTS, Docker Desktop is 2.3.0.3.

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 hub.docker.com, 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:

139
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 ...
5
ddev Create a service configuration for varnish
Hi this is how we are doing this at wegewerk: What happened (or feature request): Edit: @stborchert ...
156
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...
52
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 ...
36
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...
29
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 ...
20
react native modal How could we add swipe down to close function?
+1 for this feature please Hi I love the way this module: https://github.com/maxs15/react-native-mod...
13
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...
7
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...
194
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 ...
115
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...
106
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...
82
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...
75
gitsome Command "python setup.py 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). ...
68
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 ...
49
standard Specify eslint-env globally?
Put it into .eslintrc file in your /tests folder like this. Is there a way to set ESLint environment...
49
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 -...
43
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...
38
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...
29
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 ...
24
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 ...
23
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...
22
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...
21
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...
20
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: ...
19
standard parentheses around arrow function single argument
This is probably going to change in the next release of standard Stay tuned folks. ...
19
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 ...
19
eslint plugin react no-unused-prop-types false positives
Counting used nextProps in componentWillReceiveProps is a clear win for this rule certainly. ...
18
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...
16
lando lando does not start
On ubuntu 16.04 docker rm landoproxyhyperion5000gandalfedition_proxy_1 helped me to ged rid of this ...
16
eslint plugin react Non-component functions that return JSX
I am getting react/display-name warnings for the following anonymous stateless function syntax: Asid...
15
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...
15
minishift oc login -u system:admin password?
I am getting this: General information Minishift version: minishift v1.21.0+a8c8b37 OS: macOS Hyperv...
14
lando Unable to 'lando pull' pantheon site
This worked for me: lando terminus auth:login --machine-token=ABCDEFGHIJKLMNOPQRSTUVQXYZ (don't stea...
14
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. ...
14
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...
13
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...
13
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...
13
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 ...
13
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...
12
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 ...
12
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...
12
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...
11
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 ...
11
n8n Reverse Proxy
Forget that found a helpful thread on server-sent events and nginx I added proxy_buffering off; prox...
11
standard New Rule: ES6 sort-imports
For me alphabetical or length-based sorting is a waste of potential information I try to encode some...
11
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...
8
lando Support Xdebug 3
This worked for me PHPStorm 2020.3 drupal9 Xdebug 3 is out and comes with a lot of performance optim...
6
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...
5
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...