| Crates.io | isolated |
| lib.rs | isolated |
| version | 0.2.0 |
| created_at | 2021-06-19 13:46:51.815529+00 |
| updated_at | 2021-06-30 18:06:19.579688+00 |
| description | Child-process container for Linux hosts |
| homepage | |
| repository | |
| max_upload_size | |
| id | 412104 |
| size | 22,691 |
isolated - a child-process container for Rust on LinuxSets up following limits:
pivot_root and overlayfs, making it possible to only read a fabricated read-only root filesystem (usually from Alpine minirootfs) and a single directory (writedir) that is shared between the host and the container.Not yet, although I will not be making major breaking changes without incrementing 0.x version.
Note that running this requires root privileges, as setting up namespaces cannot be done otherwise. This repository contains a .cargo/config that uses sudo -E with all cargo runners.
Firstly, download alpine minirootfs and extract that (using ./download-rootfs.sh works).
Then cargo run --example shell gives you an isolated interactive shell. See the source code for the example.
MIT