Skip to content
Back to Milestones

[shim V2] Adds the V2 shim for Linux containers on Windows

Open
No due date
Last updated Apr 8, 2026

The V2 architecture represents a fundamental shift from a monolithic design to a decoupled, state-driven model. It fully embraces the containerd ecosystem and lays the structural groundwork required for Save/Restore (Live Migration) capabilities.

Key Objectives & Architectural Improvements:

  • Clean Separation of Concerns: Replaces the monolithic hcsTask or utilityVM with dedicated, single-responsibility controllers (vm, pod, container, process, network, devices).
  • Explicit State Machines: Transitions away from implicit, channel-based execution flows to strictly typed, documented, and fully serializable state machines.
  • Containerd-Native Integration: Implements the first-class containerd Sandbox API and utilizes the standard shim.Run() plugin registry for service injection.
  • Save/Restore (Live Migration) Readiness: * Introduces UUID-based resource tracking (replacing opaque closures) so all device reservations are inspectable and reconstructable.
  • Implements a Dual-ID pattern (containerd-facing vs. GCS-facing) to ensure ID stability across host migrations.
0% complete

List view