There is a nice paper on how this is done at Linux-VServer-Paper.
--
This page is part of the VServerManual.