[lxc-devel] Socket creation in namespace
Daniel Lezcano
daniel.lezcano at free.fr
Wed Feb 9 12:29:01 UTC 2011
On 02/09/2011 01:07 PM, Maheswara Reddy C - ERS, HCL Tech wrote:
> Hi,
>
> How can we create a socket in the specific namespace.
It is not obvious today. You will need to create several processes, each
of them with their own network namespace and via an af_unix socket ask
for a socket creation.
Otherwise, there is a kernel patch around allowing to attach a
container, hence you can attach + create a socket + detach.
http://lxc.sourceforge.net/patches/linux/2.6.35/2.6.35-lxc1/patches/
Thanks
-- Daniel
More information about the lxc-devel
mailing list