containerd/core/runtime
Jose Fernandez 569af34cbb Prefer runtime options for PluginInfo request
Previously, PluginInfo was called with task options as the primary
value, resulting in opts.BinaryName being omitted. Consequently, the
containerd-shim-runc-v2 fell back to the system's runc binary in the
PATH rather than the explicitly specified one. This change inverts the
option fallback by preferring runtime options over task options,
ensuring the correct binary is used for the PluginInfo request.

Closes: https://github.com/containerd/containerd/issues/11169

Signed-off-by: Jose Fernandez <josef@netflix.com>
Reviewed-by: Erikson Tung <etung@netflix.com>
2025-02-27 07:37:01 +00:00
..
opts Move runtime to core/runtime 2024-01-17 09:58:04 -08:00
restart Remove deprecated funcs from restart package 2024-02-10 17:54:48 -08:00
v2 Prefer runtime options for PluginInfo request 2025-02-27 07:37:01 +00:00
events.go Make api a Go sub-module 2024-05-02 11:03:00 -07:00
monitor.go Move runtime to core/runtime 2024-01-17 09:58:04 -08:00
nsmap.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
runtime.go sandbox: merge address and protocol to one url 2024-04-30 15:28:00 +08:00
task.go Move protobuf package under pkg 2024-05-02 10:52:03 -07:00
typeurl.go api/services/instrospection: add PluginInfo 2024-01-25 10:00:30 +09:00