exec:“docker-credential-desktop.exe”:使用wsl2在$PATH中找不到可执行文件

我是码头工人的新手。以下是我在构建时遇到的错误..

 => ERROR [internal] load metadata for docker.io/library/ubuntu:18.04                                                                                                                                                                   2.1s
------
 > [internal] load metadata for docker.io/library/ubuntu:18.04:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop.exe": executable file not found in $PATH, out: ``
Makefile:26: recipe for target 'build-local' failed
make: *** [build-local] Error 1

回答

这个讨论解决了我的错误:https :
//forums.docker.com/t/docker-credential-desktop-exe-executable-file-not-found-in-path-using-wsl2/100225

我刚改名 credsStore to credStore, In ~/.docker/config.json

如果您发现这很有用,请通过投票此问题和答案让我知道。


以上是exec:“docker-credential-desktop.exe”:使用wsl2在$PATH中找不到可执行文件的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>