作者:手机用户2502917387 | 来源:互联网 | 2023-08-30 13:15
我是码头工人的新手。以下是我在构建时遇到的错误..
=> 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
如果您发现这很有用,请通过投票此问题和答案让我知道。