We would like to run a NodeJS docker container, which would execute some isolated arbitrary JavaScript function and then kill the vm. Also the source code of the JavaScript has to be obtained from a remote location.
Would we be able to do rate limiting on it - if so, what are the options available - time, i/o, etc...?