2 Commits
Author SHA1 Message Date
Jing ChenandgVisor bot 09ecb96788 Integrate runsc shim with containerd 2.1.
PiperOrigin-RevId: 916119129
2026-05-15 12:06:54 -07:00
Jing ChenandgVisor bot 942bd0f240 Modernize gVisor shim bootstrap to RunManager.
The gVisor shim is registere as containerd TTRPC plugin.

The change removes global `id` filed from runsc task service, which transitions
the shim from a single container per shim assumption to multi continers per
shim architecture.

This CL modernizes the gVisor `runsc` shim by transitioning from the legacy
`containerdshim.Run` to the modern `containerdshim.RunManager` bootstrap flow.
Since the containerdshim.Run is removed in containerd 2.0 and later, it allows
us to migrate gVisor to integrate with containerd 2.0+.

This aligns the `runsc` shim with the `runc` architecture and allows it to be
loaded natively as a containerd plugin.

PiperOrigin-RevId: 912797962
2026-05-08 19:03:27 -07:00