Python Discord has a very similar sandbox container called snekbox which uses some very good ideas that we can also apply in codebox:
It is based on HTTP instead of stdin, stdout, stderr
It uses NsJail to create sandboxed processes. Using it, we might create a unique container to serve all jobs instead of spinning up a container for each project. Or even better, we can drop the additional container at all.
There is another similar project called Piston that is based on LXC containers that might be useful too.
Python Discord has a very similar sandbox container called
snekbox
which uses some very good ideas that we can also apply incodebox
:HTTP
instead ofstdin
,stdout
,stderr
There is another similar project called Piston that is based on
LXC
containers that might be useful too.