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:

  1. Docker is installed.
  2. The Docker daemon is reachable without sudo.
  3. Docker Compose v2 (docker compose) is available.
  4. ~/.gitconfig and ~/.ssh are sane for bind-mounting.
  5. The workspace .env — duplicate/malformed keys, stale host path, dangling product, drift from the template (same logic as make 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.


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es