andredias / codebox

MIT License
2 stars 1 forks source link

Improve Codebox based on Snekbox #1

Closed andredias closed 3 years ago

andredias commented 3 years ago

Python Discord has a very similar sandbox container called snekbox which uses some very good ideas that we can also apply in codebox:

  1. It is based on HTTP instead of stdin, stdout, stderr
  2. 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.