refactor: replace deprecated docker-compose with docker compose across repository
This commit is contained in:
@@ -92,7 +92,7 @@ Critical risks include data loss from improper volume configuration, OOM killer
|
||||
|
||||
3. **OOM killer (resource exhaustion)** — Always set `mem_limit` and CPU limits in docker-compose; monitor with `docker stats`; recommend 16GB RAM minimum for host
|
||||
|
||||
4. **Running as root** — Always specify `user:` directive in docker-compose or Dockerfile; teach Linux permission basics alongside Docker; never use `--privileged` flag
|
||||
4. **Running as root** — Always specify `user:` directive in docker compose or Dockerfile; teach Linux permission basics alongside Docker; never use `--privileged` flag
|
||||
|
||||
5. **Port conflicts and binding issues** — Use non-standard ports in examples (5433 instead of 5432); teach students to check port usage; document all port mappings; provide conflict detection scripts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user