Closed fidencio closed 1 month ago
cc @AkihiroSuda
nerdctl is not a CRI application, so "io.containerd.grpc.v1.cri" will never be recognized.
containerd itself should have a generic interface for specifying runtime options that can be recognized by both CRI and non-CRI applications. Feel free to submit a proposal to https://github.com/containerd/containerd/pulls .
What is the problem you're trying to solve
runtime_path:
containerd-shim-kata-v2
binary in the PATH, as containerd supportsruntime_path
being set in its configuration, and nerdctl should take advantage of that.runtime_config:
.options
that can be set isruntime_config
, which would be very handy when using nerdctl with Kata ContainersDescribe the solution you'd like
I'd like to be able to call
nerdctl --debug --debug-full run --runtime io.containerd.kata.v2 --rm docker.io/library/busybox:latest uname -r
, and have that working, when using the following containerd config:Additional context
This would improve a lot the nerdctl's usability with Kata Containers / Confidential Containers.