fix: improve tunnel diagnostics and add --no-autoupdate

- Remove --rm from docker run so failed containers persist for inspection
- Add --no-autoupdate flag to prevent cloudflared from exiting on auto-update
- Capture both stdout and stderr from docker logs
- Check container exit code during wait loop; fail fast with logs if container exits early
- Include exit code in timeout error message for easier debugging
This commit is contained in:
2026-05-30 12:41:37 +02:00
parent 6cf06d2380
commit eeb7d9a1b2
2 changed files with 83 additions and 40 deletions
-3
View File
@@ -380,6 +380,3 @@ def find_free_port(start: int = 10000, end: int = 20000) -> int:
return port
raise RuntimeError(f"No free port found in range {start}-{end}")