cmd/sketch: remove colima check
Orbstack works too.
diff --git a/README.md b/README.md
index 69026e0..6efa99c 100644
--- a/README.md
+++ b/README.md
@@ -15,10 +15,11 @@
## Requirements
Currently sketch runs on macOS and linux.
-It uses docker/colima for containers.
+It uses docker for containers.
-macOS: `brew install colima`
+macOS: `brew install colima` (or an equivalent, like Docker Desktop or Orbstack)
linux: `apt install docker.io` (or equivalent for your distro)
+WSL2: install Docker Desktop for Windows (docker entirely inside WSL2 is tricky)
The [sketch.dev](https://sketch.dev) service is used to provide access
to an LLM service and give you a way to access the web UI from anywhere.
diff --git a/cmd/sketch/reqchecks.go b/cmd/sketch/reqchecks.go
index 2b68adc..b668c7e 100644
--- a/cmd/sketch/reqchecks.go
+++ b/cmd/sketch/reqchecks.go
@@ -30,19 +30,6 @@
return fmt.Sprintf("%s %s", path, strings.TrimSpace(string(output))), nil
}
-func checkColima() (string, error) {
- path, err := exec.LookPath("colima")
- if err != nil {
- return "", fmt.Errorf("cannot find `colima` binary; run: brew install docker colima && colima start")
- }
- cmd := exec.Command(path, "version")
- output, err := cmd.CombinedOutput()
- if err != nil {
- return "", fmt.Errorf("colima version check failed: %w\n%s\n", err, string(output))
- }
- return fmt.Sprintf("%s %s", path, strings.TrimSpace(string(output))), nil
-}
-
func checkNPM() (string, error) {
path, err := exec.LookPath("npm")
if err != nil {
@@ -69,11 +56,6 @@
cfs = append(cfs, checkDocker)
}
- // Only check for Colima on macOS and in safe mode
- if runtime.GOOS == "darwin" && !isUnsafe {
- cfs = append(cfs, checkColima)
- }
-
// Always check for NPM
cfs = append(cfs, checkNPM)