refactor: replace deprecated docker-compose with docker compose across repository

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-09 12:15:00 +02:00
parent 64b7d49056
commit dceefe0573
33 changed files with 115 additions and 114 deletions
@@ -246,7 +246,7 @@ networks:
### Pitfall 5: Network Cleanup Between Tests
**What goes wrong:** Previous test networks interfere with new tests
**Why it happens:** Networks not removed between test runs, container references stale
**How to avoid:** Always run `docker-compose down -v` to remove networks, include cleanup in tests
**How to avoid:** Always run `docker compose down -v` to remove networks, include cleanup in tests
**Warning signs:** "Network already exists" errors, IP conflicts in subnet allocation
## Code Examples
@@ -373,8 +373,8 @@ else
echo "WARNING: No port bindings found or all public"
fi
# Verify with docker-compose config
docker-compose -f "$compose_file" config 2>/dev/null || true
# Verify with docker compose config
docker compose -f "$compose_file" config 2>/dev/null || true
echo "INF-02 verification complete"
```