fix: check for Docker Compose plugin before running standalone setup

Without the compose plugin, `docker compose -f ...` produces a
misleading "unknown shorthand flag: 'f'" error instead of telling
the user compose is missing.
This commit is contained in:
Igor Loskutov
2026-02-12 18:24:24 -05:00
parent 3d13e5d42f
commit 36a8daee61

View File

@@ -491,6 +491,13 @@ main() {
exit 1
fi
# Ensure Docker Compose V2 plugin is available
if ! docker compose version &>/dev/null; then
err "Docker Compose plugin not found."
err "Install Docker Desktop, OrbStack, or: brew install docker-compose"
exit 1
fi
# LLM_URL_VALUE is set by step_llm, used by later steps
LLM_URL_VALUE=""