I have a web server host (Apache on Linux) that runs many virtual hosts which offer CGIs and FastCGIs using 'chroot' to seperate the processes from each other. For serveral reasons I am thinking of replacing every chroot-environment by a Linux container. Surprisingly I found almost nothing about this idea! Am I the only one with that idea?? Is that a bad idea? (Can the user escape from the container?) Is someone interested to share his thoughts (or links) about this with me?
Unfortunately the container can only be used for CGIs and FastCGIs, because a process/thread (in this case Apache) cannot enter a container, do it's work and leave. He must exit at this stage, correct? Or is there a trick?