docker - exec: "docker-credential-desktop.exe": executable file not found in $PATH
问题描述
I got this error during docker build
:
=> 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
解决方案
This discussion solved my error:
https://forums.docker.com/t/docker-credential-desktop-exe-executable-file-not-found-in-path-using-wsl2/100225
I just renamed credsStore
to credStore
in ~/.docker/config.json.
推荐阅读
- html - 如何在闪亮的 HTML 中使用 & 符号?
- java - Apache POI - 尝试使用 POI 更改强调色
- azure-devops - 使用 ACR(天蓝色容器注册表)作为 Azure Devops json 管道的输入
- reactjs - FCM(Firebase 云消息传递):Firebase 推送通知在 Firefox 中显示,但在 Chrome 中不显示
- ruby-on-rails - 无法将 git repo 推送到 Heroku
- android - 在带有 IMA 扩展的 ExoPlayer 中每 5 分钟播放一次线性内嵌广告
- javascript - 根据内容调整日历中框的宽度
- html - 如何在Angular的html页面中获取应用按钮的位置
- arduino - 此代码错误 - 函数 'void digitalWrite(uint8_t, uint8_t)' 的参数太少
- python - 带有 argparser 的 Sonarqube 热点