Fix WSL2 docker error

Peterbill
Nov 14, 2020

--

If we get the following error message:

Error saving credentials: error storing credentials — err: exec: “docker-credential-desktop.exe”: executable file not found in $PATH, out: ``

It could be solved by:

sudo ln -s /mnt/c/Program\ Files/Docker/Docker/resources/bin/docker-credential-desktop.exe /usr/bin/docker-credential-desktop.exe

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Peterbill
Peterbill

No responses yet

Write a response