kuasar-io / kuasar

A multi-sandbox container runtime that provides cloud-native, all-scenario multiple sandbox container solutions.
https://kuasar.io
Apache License 2.0
1.27k stars 91 forks source link

Support for runc container #83

Closed Burning1020 closed 8 months ago

Burning1020 commented 1 year ago

What would you like to be added?

Support to run Runc containers.

Why is this needed?

Runc container uses Linux Namespace/Cgroup trchnology to isolate containers and it is widely used.

xiaods commented 1 year ago

I am k8e - kubernetes engine owner, i would like this feature coming asap. How can mentor me to implement it?

Burning1020 commented 1 year ago

@xiaods Thanks, I will contact you, are you in our Slack channel?

xiaods commented 1 year ago

@xiaods Thanks, I will contact you, are you in our Slack channel?

yes, i am in, Deshi Xiao(you)

xiaods commented 1 year ago

Could you share how to configure kuasar and runc together into a k8s cluster and make containers run properly?

Burning1020 commented 1 year ago

Could you share how to configure kuasar and runc together into a k8s cluster and make containers run properly?

Supporting for Runc in Kuasar is still in developing. The configuration way is same as vmm descriped in this doc: https://github.com/kuasar-io/kuasar/blob/main/docs/containerd.md#configure-containerd

If you want to use runc without Kuasar, the configuration way is adding runc runtime to cri config and installing runc shim.

xiaods commented 1 year ago

https://github.com/kuasar-io/kuasar/blob/main/docs/containerd.md#configure-containerd

hi @Burning1020 Can i use runc with Kuasar, does it works like a charm.

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]

xiaods commented 1 year ago

this is PR for runc: https://github.com/kuasar-io/kuasar/pull/94

xiaods commented 1 year ago

any update?

Burning1020 commented 8 months ago

fix in #94