[Lxc-users] Can a process change its container membership ?

Vinay Wagh vinay.h.wagh at gmail.com
Wed Jul 27 21:57:16 UTC 2011


Hi,

I had an architectural question on containers. I wanted to use containers to
run multiple instances of the same application with different resource
allocation (CPU, memory). The problem is that I have user/kernel space
drivers that access network processors and I might not be able to run
multiple instances in this case. These processes need to serve requests from
applications running in different containers. So I need these processes to
run in a container that can communicate with other containers. But since
this process will serve requests from other containers it should be able to
honor the CPU resource isolation that containers provide.

To do this I could embed an id in the IPC that maps to the container but I
still need the serving process to be able to 'switch' in to a different
container membership based on which container I received the request from.
Is that something that can be done today or is there another way to do
this.

Thanks,
Vinay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110727/2a5dcee9/attachment.html>


More information about the lxc-users mailing list