feat: add support for wslc#57
Conversation
e95a5d2 to
927646d
Compare
927646d to
f0fa271
Compare
| // kan zijn), daarna naar `podman`. Zo wint een echte Docker-engine als die er | ||
| // is, maar herkennen we Podman ook als het zich als `docker` voordoet. | ||
| const detected = detectEngine('docker') ?? detectEngine('podman'); | ||
| const detected = detectEngine('docker') ?? detectEngine('podman') ?? detectEngine('wslc'); |
There was a problem hiding this comment.
detectEngine checks output of *.exe info. wslc.exe does not support info, possibly use that to fall back from wslc.exe to podman.exe to docker.exe.
|
The experiment build is available on the Once the pipeline has processed the branch, both the CLI and Docker images will be published with the You can try it using: huddle experiment use 58Alternatively: huddle init --experiment 58This installs the CLI as To switch back to the regular version, run: huddle experiment resetWhen new changes are made, we need to push them to the experiment branch as well and make sure these branches stay in sync:
|
…port wslc has no `info` subcommand (`wslc info` exits with "Unrecognized command: 'info'"), so isAvailable() always reported it as unreachable even when wslc was installed and its daemon running. `huddle init --runtime wslc` therefore always failed with "Container runtime 'wslc' is not available." Use `wslc list` instead, which equally requires a reachable daemon to succeed. Also fixes detectEngine() to return the actual probed command instead of hardcoding 'docker', so auto-detection falls through to wslc correctly when neither Docker nor Podman is available. Fixes infosupport#58
Summary
Add support for WSLc
Related issue
Implements #58
Type of change
fix)feat)docs)refactor/chore)Checklist
mainand focused on a single change.npm --prefix gateway test) and I added/updated tests where relevant.Notes for reviewers