Skip to content

Adopt containerd shim bootstrap protocol for options - #2868

Open
Harsh Rawat (rawahars) wants to merge 1 commit into
mainfrom
harshrawat/adopt-shim-bootstrap-protocol
Open

Adopt containerd shim bootstrap protocol for options#2868
Harsh Rawat (rawahars) wants to merge 1 commit into
mainfrom
harshrawat/adopt-shim-bootstrap-protocol

Conversation

@rawahars

Copy link
Copy Markdown
Contributor

containerd 2.3+ delivers shim startup options as an extension inside a BootstrapParams message on stdin instead of a bare Any.

Decode options from BootstrapParams at the shim startup handoff:

  • lcow-v2: decode options via BootstrapParams.FindExtension
  • runhcs-v1: try legacy bare Any first, fall back to BootstrapParams (containerd still special-cases runhcs-v1 to the legacy format)

Fixes #2780

@rawahars
Harsh Rawat (rawahars) requested a review from a team as a code owner August 10, 2026 18:48
@rawahars
Harsh Rawat (rawahars) force-pushed the harshrawat/adopt-shim-bootstrap-protocol branch from 267c48c to d24e526 Compare August 10, 2026 19:07
containerd 2.3+ delivers shim startup options as an extension inside a
BootstrapParams message on stdin instead of a bare Any.

Decode options from BootstrapParams at the shim startup handoff:
- lcow-v2: decode options via BootstrapParams.FindExtension
- runhcs-v1: try legacy bare Any first, fall back to BootstrapParams
  (containerd still special-cases runhcs-v1 to the legacy format)

Fixes #2780

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars
Harsh Rawat (rawahars) force-pushed the harshrawat/adopt-shim-bootstrap-protocol branch from d24e526 to 58a5fe7 Compare August 10, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider adopting containerd's shim bootstrap protocol

1 participant