2dbi
Home/Docker/Build a Mini Container Runtime / Process Supervisor (Practical)
DDocker·DSAEngineerOnsite – Coding (Practical)

Build a Mini Container Runtime / Process Supervisor (Practical)

Problem

Implement a small process supervisor that starts N child processes, restarts them on exit (with backoff), and reports status — mirroring container-runtime concerns.

Example

start workers; one crashes -> restart with backoff; report health

Constraints

  • Handle signals and graceful shutdown

What Docker looks for

Idiomatic Go, correct process/signal handling, and clean concurrency.

added 6 days ago
LeadersAccount