As part of an attempt to make the scikit-image image gallery interactive, I would like to create a web service that receives Python snippet code, executes it, and provides me with the generated output image.
For security, running Python instances should be isolated and resource managed, so I was thinking about using LXC containers.
Is this a good way to approach the problem? If so, what is the recommended way to start one Python virtual machine for each request?
source
share