mirror of
https://github.com/night0721/box.git
synced 2026-02-26 16:52:13 +00:00
Sandbox container to run untrusted programs with isolated namespaces and minimal cgroups
- C 78.9%
- Makefile 14.3%
- Shell 6.8%
| .gitignore | ||
| box.c | ||
| config.h | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| setup_net.sh | ||
box
Sandbox container to run untrusted programs with isolated namespaces and minimal cgroups
Features
- OverlayFS
- Limit resource
- Virtual networking
Usage
curl -O https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-minirootfs-3.20.0-x86_64.tar.gz
tar xf alpine-minirootfs-3.20.0-x86_64.tar.gz
box
Dependencies
None
Building
You will need to run these with elevated privilages.
$ make
# make install
Contributions
Contributions are welcomed, feel free to open a pull request.
License
This project is licensed under the GNU Public License v3.0. See LICENSE for more information.