natsukagami / kjudge

A simple system for hosting competitive programming contests.
GNU Affero General Public License v3.0
22 stars 11 forks source link

Add support for isolate v2 #112

Closed minhnhatnoe closed 3 weeks ago

minhnhatnoe commented 5 months ago

On startup, check for the isolate daemon's status (or run the daemon as a goroutine if in docker container). Processes in the container's root cgroup will be moved to the subgroup /daemon by the custom isolate.

minhnhatnoe commented 4 months ago

You might also want to merge changes from master branch at https://github.com/minhnhatnoe/kjudge.wiki.git. I have added notes about using --cap-add instead of --privileged.

natsukagami commented 3 weeks ago

Think we can YOLO this one for now ^^