From 36a8daee61c2b7a0937fd0914d51fb4ea8212ae7 Mon Sep 17 00:00:00 2001 From: Igor Loskutov Date: Thu, 12 Feb 2026 18:24:24 -0500 Subject: [PATCH] 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. --- scripts/setup-standalone.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/setup-standalone.sh b/scripts/setup-standalone.sh index c5927773..82ddf294 100755 --- a/scripts/setup-standalone.sh +++ b/scripts/setup-standalone.sh @@ -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=""