tiffin

Crates.iotiffin
lib.rstiffin
version0.3.2
sourcesrc
created_at2023-10-11 16:29:02.944474
updated_at2024-09-02 00:39:00.036079
descriptionA minimal container runtime for Linux for setting up chroot-like environments
homepagehttps://github.com/FyraLabs/tiffin
repositoryhttps://github.com/FyraLabs/tiffin
max_upload_size
id1000412
size29,138
crates.io Maintainer (github:fyralabs:crates-io-maintainer)

documentation

https://docs.rs/tiffin

README

Tiffin

Tiffin is a simple and lightweight Rust library for creating and entering chroot jails on Linux.

It spawned from Katsu's chroot code, which was originally designed for setting up Linux environment from scratch.

This library does not contain methods for setting up the chroot environment, but will use an existing rootfs to create a jail out of.

Please note that this library is not designed for isolating untrusted workloads.

References

https://github.com/util-linux/util-linux/blob/master/sys-utils/unshare.c

https://gitee.com/kt10/nspawn-lite/blob/master/src/main.rs

Commit count: 0

cargo fmt