eclipse-symphony / symphony

Symphony project
MIT License
27 stars 17 forks source link

Running maestro up in WSL sometimes failed due to "Error: error getting credentials - err: fork/exec /usr/biin/docker-credential-desktop.exe: exec format error, out: ``" #71

Closed msftcoderdjw closed 4 months ago

msftcoderdjw commented 4 months ago

image

msftcoderdjw commented 4 months ago

About this issue,

  1. Current maesto CLI doesn't print any error logs so users cannot know how to diagnose this issue.
  2. We need to add the mitigations in the doc: https://forums.docker.com/t/docker-credential-desktop-exe-executable-file-not-found-in-path-using-wsl2/100225 - Delete the line with credsStore from ~/.docker/config.json.
Haishi2016 commented 4 months ago

if you do maestro up --verbose you can see detailed outputs

msftcoderdjw commented 4 months ago

Thanks for the hints, @Haishi2016 . I have tried verbose logs, seems it prints too much information. Do you think if it is feasible we can print errorOutput even users don't enable --verbose?