[Lxc-users] Some trick to access a socket in a container (from host)?

erkan yanar erkan at linsenraum.de
Sun May 22 22:21:13 UTC 2011


Moin Daniel,

On Sun, May 22, 2011 at 03:49:53PM +0200, Daniel Lezcano wrote:
> On 05/22/2011 02:10 AM, erkan yanar wrote:
> >Moin,
> >seems like I can't access a socket from a program in a container from
> >the host. Is there a (dirty) trick to achieve it?
> If the network is virtualized, you can not access the socket because 
> they are isolated.

Yes my fault Im doing application-containers without network virt.

> But you can access an af_unix socket via the filesystem if your kernel 
> version is >= 2.6.35.

Awesome, thats what I need.

thx
Erkan





More information about the lxc-users mailing list