compilebox
compilebox copied to clipboard
Compile and run user-submitted code in a docker based sandbox.
Referencing issue #7 , it doesn't seem to have been addressed, and infinite loops are very much a problem, they don't seem to timeout - Zach
I am able to get execution time for the program. How can I get memory or CPU usage of the program?
See: http://stackoverflow.com/questions/28933925/docker-timeout-for-container Basically, writing an infinite loop: ``` while True: print "infinite loop" ``` Will cause the entire script to freeze up after a certain amount of runs. Anyone have...
It is said that there are still some security risks running untrusted code in docker, what did you do to do to make docker more safer? Articles related: http://opensource.com/business/14/7/docker-security-selinux http://opensource.com/business/14/9/security-for-docker...
[Docker container was ran as user `mysql`](https://github.com/remoteinterview/compilebox/blob/master/API/DockerSandbox.js#L134), which leads to permission denied issue. ``` root@vagrant-ubuntu-trusty-64:/compilebox/API/temp/testfolder# docker run -u mysql -e 'NODE_PATH=/usr/local/lib/node_modules' -i -t -v "/compilebox/API/temp/testfolder":/usercode virtual_machine /usercode/script.sh python file.py /usercode/script.sh:...
compile.remoteinterview.io does not show anything.
Hi, could we use compilebox on the raspeberry pi 2 ?
I have done a local installation of your code but when I run it from the browser, I get the error "Compile not found" . I have checked the installation...
This should get Java 8 instead of 7. (Didn't test out yet with new compilebox installation.)
This should allow `public class Main` in Java files.