sandbox the compilation and execution of source code or scripts
822
This is part of a FYP project and is for educational use.
Sandbox-Run aims to sandbox the compilation and excution of source code or scripts. Being run inside Docker, this makes Sandbox-Run cross-platform.
Sandbox-Run can be used in an Online Judge System, facilitates high protection against dangerous code. Or it can just be used to compile and run untrusted code or scripts.
Link to Docker Hub Repo
Link to Bitbucket Wiki Page
Link to Bitbucket Issue Tracker
$ docker run [docker-run-options] tomlau10/sandbox-run [options] <executable> [args]
For detailed reference, please visit Bitbucket Wiki Page
Sandbox-Run is written in C language for efficiency concern
<executable>Built on the alpine:edge docker image which has minimal size.

Then pre-installed a few compilers and interpreters:
gccnodejspythonrubyTo compile and build:
The binary should be built inside the Alpine Linux container. build.sh is prepared for compiling the binary, building the image locally and removing untagged docker images in one step.
$ ./build.sh
For more details of the building process, please refer to the Dockerfile.
Content type
Image
Digest
sha256:4db07e34e…
Size
54 MB
Last updated
over 10 years ago
docker pull tomlau10/sandbox-run