当前(23年6月)kata containers3.x最新版无法与Docekr兼容,在此尝试另一种解决方案gVisor

Kata、gVisor、RunC的性能对比

https://gvisor.dev/docs/architecture_guide/performance/

https://medium.com/coccoc-engineering-blog/secure-container-runtime-cb4eb75e9dcf

安装gVisor

https://gvisor.dev/docs/user_guide/install/

使用

docker run --rm --runtime=runsc hello-world

运行下面命令,输出不同内核版本表示成功。

docker run --rm --runtime=runsc busybox uname -a

uname -a