一个用 Rust 编写的最小容器运行时。

时间:2021-06-28 18:46:33
【文件属性】:
文件名称:一个用 Rust 编写的最小容器运行时。
文件大小:25KB
文件格式:ZIP
更新时间:2021-06-28 18:46:33
containers lxc linux-containers cgroup unshare 血管一个用 Rust 编写的最小容器运行时。这个想法是在不使用现有运行时的情况下支持最小的隔离容器,vas-quod 使用 linux系统调用来实现隔离容器 { namespaces, cgroups, chroot, unshare }。用法Usage: ./vas-quod - minimal container runtime [options] Options: -r, --rootfs path Path to root file-system eg. --rootfs /home/alpinefs -c, --commandcommand Command to be executed eg. --command` curl http://google.com` -h, --help print thishelp menu根文件系统根文件系统路径从https://github.com/flouthoc/vas-quod/rele
【文件预览】:
vas-quod-main
----.gitignore(8B)
----src()
--------run.rs(835B)
--------runtime.rs(2KB)
--------namespace.rs(132B)
--------main.rs(4KB)
--------mount.rs(601B)
--------spec.rs(6KB)
--------cgroup.rs(1KB)
--------filesystem.rs(570B)
----Cargo.lock(13KB)
----assets()
--------vas-quod.png(15KB)
----LICENSE(1KB)
----Cargo.toml(648B)
----README.md(1020B)

网友评论