You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -63,7 +63,7 @@ poetry run python -m netengine.utils.run_migrations
63
63
poetry run netengine up examples/minimal.yaml
64
64
```
65
65
66
-
If you only want host/container checks before configuring Postgres, run `poetry run netengine doctor --skip-db`. Check status at any time:
66
+
If you only want host/container checks before configuring Postgres, run `poetry run netengine doctor --skip-db`. Add `--spec examples/minimal.yaml` (or pass the spec as a positional argument) to include subnet-overlap checks for `spec.substrate.networks[*].subnet` before bootstrapping. Check status at any time:
poetry run netengine doctor --skip-db --spec examples/minimal.yaml
20
20
docker compose up -d postgres
21
21
poetry run python -m netengine.utils.run_migrations
22
-
poetry run netengine doctor
22
+
poetry run netengine doctor --spec examples/minimal.yaml
23
23
poetry run netengine up examples/minimal.yaml
24
24
poetry run netengine status
25
25
```
26
26
27
-
Use `NETENGINE_MOCK=true` when you want to exercise orchestration and spec validation without creating Docker, DNS, PKI, or identity resources.
27
+
Use `poetry run netengine doctor --spec examples/minimal.yaml` before bootstrapping a world to check host prerequisites plus Docker subnet conflicts against `spec.substrate.networks[*].subnet`. Use `NETENGINE_MOCK=true` when you want to exercise orchestration and spec validation without creating Docker, DNS, PKI, or identity resources.
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Start with the commands below before changing state:
4
4
5
5
```bash
6
-
poetry run netengine doctor
6
+
poetry run netengine doctor --spec examples/minimal.yaml
7
7
poetry run netengine status
8
8
poetry run netengine diagnose <spec.yaml>
9
9
poetry run netengine events
@@ -22,7 +22,7 @@ Do not manually mark phases complete. Fix the underlying dependency and re-run `
22
22
23
23
## Docker unavailable or stale resources
24
24
25
-
If Docker is expected to be available, start Docker Desktop or the Docker daemon and rerun `doctor`. If you intentionally want no infrastructure side effects, set mock mode:
25
+
If Docker is expected to be available, start Docker Desktop or the Docker daemon and rerun `doctor`. To catch Docker subnet conflicts before `up`, run `poetry run netengine doctor --spec <spec.yaml>`; if it reports that an existing Docker network reuses or overlaps a requested world subnet, remove the stale network with `docker network rm <name>` or choose a different subnet in the spec. If you intentionally want no infrastructure side effects, set mock mode:
26
26
27
27
```bash
28
28
NETENGINE_MOCK=true poetry run netengine up examples/minimal.yaml
0 commit comments