Sandbox container to run untrusted programs with isolated namespaces and minimal cgroups
  • C 78.9%
  • Makefile 14.3%
  • Shell 6.8%
Find a file
2026-02-25 19:41:41 +00:00
.gitignore Initial commit 2026-02-25 19:41:41 +00:00
box.c Initial commit 2026-02-25 19:41:41 +00:00
config.h Initial commit 2026-02-25 19:41:41 +00:00
LICENSE Initial commit 2026-02-25 19:41:41 +00:00
Makefile Initial commit 2026-02-25 19:41:41 +00:00
README.md Initial commit 2026-02-25 19:41:41 +00:00
setup_net.sh Initial commit 2026-02-25 19:41:41 +00:00

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.