diff --git a/docs/containerd.md b/docs/containerd.md index 310ec557..a551bc7a 100644 --- a/docs/containerd.md +++ b/docs/containerd.md @@ -27,10 +27,10 @@ Refer to the following configuration to modify the configuration file, default p [proxy_plugins.vmm] type = "sandbox" address = "/run/vmm-sandboxer.sock" -[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.kuasar-vmm] +[plugins.'io.containerd.cri.v1.runtime'.containerd.runtimes.kuasar-vmm] runtime_type = "io.containerd.kuasar-vmm.v1" sandboxer = "vmm" - io_type = "hvsock" + io_type = "streaming" ``` + For quark: @@ -39,7 +39,7 @@ Refer to the following configuration to modify the configuration file, default p [proxy_plugins.quark] type = "sandbox" address = "/run/quark-sandboxer.sock" -[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.kuasar-quark] +[plugins.'io.containerd.cri.v1.runtime'.containerd.runtimes.kuasar-quark] runtime_type = "io.containerd.kuasar-quark.v1" sandboxer = "quark" ``` @@ -50,7 +50,7 @@ Refer to the following configuration to modify the configuration file, default p [proxy_plugins.wasm] type = "sandbox" address = "/run/wasm-sandboxer.sock" -[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.kuasar-wasm] +[plugins.'io.containerd.cri.v1.runtime'.containerd.runtimes.kuasar-wasm] runtime_type = "io.containerd.kuasar-wasm.v1" sandboxer = "wasm" ``` diff --git a/docs/vmm/how-to-run-kuasar-with-isulad-and-stratovirt.md b/docs/vmm/how-to-run-kuasar-with-isulad-and-stratovirt.md index b5e7adc2..4d7cb8d0 100644 --- a/docs/vmm/how-to-run-kuasar-with-isulad-and-stratovirt.md +++ b/docs/vmm/how-to-run-kuasar-with-isulad-and-stratovirt.md @@ -131,10 +131,10 @@ Add the following sandboxer config in the containerd config file `/etc/container type = "sandbox" address = "/run/vmm-sandboxer.sock" -[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.kuasar-vmm] +[plugins.'io.containerd.cri.v1.runtime'.containerd.runtimes.kuasar-vmm] runtime_type = "io.containerd.kuasar-vmm.v1" sandboxer = "vmm" - io_type = "hvsock" + io_type = "streaming" ``` ## Configure crictl diff --git a/scripts/build/build-containerd.sh b/scripts/build/build-containerd.sh index 2e82dd7e..007bdd63 100755 --- a/scripts/build/build-containerd.sh +++ b/scripts/build/build-containerd.sh @@ -19,25 +19,25 @@ git clone -b v0.2.0-kuasar https://github.com/kuasar-io/containerd.git mkdir bin && make -C containerd bin/containerd && mv containerd/bin/containerd bin tee bin/config.toml > /dev/null <