Description
scripts/setup.sh checks Docker Compose availability with command -v docker compose, which treats compose like a standalone command name. On standard Docker installations, docker compose is commonly a Docker subcommand/plugin rather than a separate executable named compose, so this check is brittle and can fail even when docker compose works.
Component
Steps to Reproduce
- Inspect the prerequisite check in
scripts/setup.sh.
- Compare it with how Docker Compose is typically invoked as
docker compose ....
- Observe that the script is checking for
compose as if it were its own command.
Expected Behavior
The setup script should verify Docker Compose with a command that matches actual usage, such as docker compose version.
Actual Behavior
The script uses command -v docker compose, which is not a reliable test for the Docker Compose plugin/subcommand.
Environment
- OS: Any
- Python version: N/A
- Docker version: Any recent Docker with Compose plugin
- Chat platform: N/A
- Flowise version: N/A
Logs
Relevant file:
- scripts/setup.sh:12-15
Additional Context
Evidence
Suggested fix
- Replace the check with something like
docker compose version >/dev/null 2>&1
- Or probe
docker compose ls / docker compose config instead
Description
scripts/setup.shchecks Docker Compose availability withcommand -v docker compose, which treatscomposelike a standalone command name. On standard Docker installations,docker composeis commonly a Docker subcommand/plugin rather than a separate executable namedcompose, so this check is brittle and can fail even whendocker composeworks.Component
Steps to Reproduce
scripts/setup.sh.docker compose ....composeas if it were its own command.Expected Behavior
The setup script should verify Docker Compose with a command that matches actual usage, such as
docker compose version.Actual Behavior
The script uses
command -v docker compose, which is not a reliable test for the Docker Compose plugin/subcommand.Environment
Logs
Additional Context
Evidence
Suggested fix
docker compose version >/dev/null 2>&1docker compose ls/docker compose configinstead