Open taenzeyang opened 5 months ago
The following codes can successfully implement hooks in runc runtime, but do not work in kata runtime.
spec.Hooks.StartContainer = append(spec.Hooks.StartContainer, rspec.Hook{ Path: "/usr/bin/mkdir", Args: []string{"/usr/bin/mkdir", "/run/test"}, Env: nil, Timeout: nil, })
runc version: 1.1.10 kata version: 3.2.0
StartContainer hook is set to nil by containerd-shim-kata-v2 and hasn't been executed, link issue: kata-containers/kata-containers #8869
The following codes can successfully implement hooks in runc runtime, but do not work in kata runtime.
runc version: 1.1.10 kata version: 3.2.0
StartContainer hook is set to nil by containerd-shim-kata-v2 and hasn't been executed, link issue: kata-containers/kata-containers #8869