make preflight
Run the host pre-flight checks only — no container, no changes.
Usage
make preflight
What it checks
The host-side scripts/preflight_cli.sh, without touching any container:
- Docker is installed.
- The Docker daemon is reachable without
sudo. - Docker Compose v2 (
docker compose) is available. ~/.gitconfigand~/.sshare sane for bind-mounting.- The workspace
.env— duplicate/malformed keys, stale host path, dangling product, drift from the template (same logic asmake env-check).
Exit code is 1 if a hard problem is found, 0 otherwise.
When to use
To diagnose your machine before running make setup — e.g.
to confirm Docker is up and your .env is healthy without starting anything.
The lifecycle targets (setup,
docker-up, cli) run this pre-flight
automatically. make preflight is just the standalone, read-only version.
Related
make env-check— only the.envportion.splent doctor— deeper diagnostics from inside the container.