{"id":16948793,"url":"https://github.com/dentosal/isolated-rs","last_synced_at":"2025-04-11T20:12:42.947Z","repository":{"id":83101245,"uuid":"378413882","full_name":"Dentosal/isolated-rs","owner":"Dentosal","description":"Linux process isolation using namespaces and pivot_root jail","archived":false,"fork":false,"pushed_at":"2021-06-30T18:03:04.000Z","size":11,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T20:12:37.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dentosal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-19T13:03:47.000Z","updated_at":"2025-02-02T12:00:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f676e54f-738a-4e5d-8f9e-2c7b48bfb4e6","html_url":"https://github.com/Dentosal/isolated-rs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fisolated-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fisolated-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fisolated-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dentosal%2Fisolated-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dentosal","download_url":"https://codeload.github.com/Dentosal/isolated-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473126,"owners_count":21109628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:52:24.917Z","updated_at":"2025-04-11T20:12:42.933Z","avatar_url":"https://github.com/Dentosal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `isolated` - a child-process container for Rust on Linux\n\n[![crates.io badge](https://img.shields.io/crates/v/isolated.svg)](https://crates.io/crates/isolated)\n[![docs.rs badge](https://docs.rs/isolated/badge.svg)](https://docs.rs/isolated/)\n\nSets up following limits:\n* Limits filesystem access with `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.\n* Limits network access using a network namespace. Currently access to other networks is simply disabled. In the future it should be interesting to implement a proper access control using VETH interfaces.\n* Disables access to host pids and mounts using namespaces.\n\n## API stability\n\nNot yet, although I will not be making major breaking changes without incrementing `0.x` version.\n\n## Running an example\n\nNote 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.\n\nFirstly, download alpine minirootfs and extract that (using [`./download-rootfs.sh`](download-rootfs.sh) works).\n\nThen `cargo run --example shell` gives you an isolated interactive shell. See [the source code for the example](examples/shell.rs).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Fisolated-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdentosal%2Fisolated-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdentosal%2Fisolated-rs/lists"}