-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash: Invalid version. Must be a string. Got type "object" while checking docker server version. #5284
Comments
It appears that the command https://github.com/garden-io/garden/blob/main/core/src/plugins/container/build.ts#L38 // { client: '24.0.6', server: 'dev' }
containerHelpers.checkDockerServerVersion(await containerHelpers.getDockerVersion()) Resetting Docker desktop to factory defaults fixed the problem. Something was probably corrupted at some point. |
Nonetheless, Garden should not crash encountering an invalid version, but emit a warning or something like that. @AmauryD Thanks a lot for reporting this 👍 |
Crash report
Error message
While trying to build images locally, I ran into this issue:
What did you do?
I was able to reproduce the same issue from the repository https://github.com/garden-io/quickstart-example by simply running:
garden build --env=local
Your environment
Docker desktop:
Engine: 24.0.6
Compose: v2.22.0-desktop.2
Credential Helper: v0.7.0
Kubernetes: v1.27.2
Frequency
Always
Workaround
Not found.
The text was updated successfully, but these errors were encountered: