epicbox
epicbox copied to clipboard
Run multiple files
Is there a way to run multiple files in one docker?
Do you mean to run multiple commands/processes with one epicbox.run
? I guess you can try to pass a command like "/bin/command1 arg1 arg2 && command2 argX argY"
. Eventually the command that is executed in a container is wrapped into /bin/sh -c
: https://github.com/StepicOrg/epicbox/blob/master/epicbox/sandboxes.py#L68
Cant I use the stdin parameter to pass the input to each of the command/process? And also how costly would it be to run a compiler online with epicbox? I mean you have a thousand of request to compile untrusted code. For each of theses requests a container is created