[Lxc-users] container hostname not visible to host, ubuntu 12.04

Serge Hallyn serge.hallyn at canonical.com
Fri Jul 6 16:01:44 UTC 2012


Quoting Stéphane Graber (stgraber at ubuntu.com):
> On 07/06/2012 11:18 AM, Li, Zeyang wrote:
> > That fixed my problem. million thanks :D
> > Btw, is there a way to have lxc.init while not installing the full lxc
> > package? Is lxc.init the only thing I need in the container to have
> > lxc-execute working?
> > 
> > Zeyang
> 
> That's correct, you only need lxc-init. There's no easy way to only
> install lxc-init though. I supposed you could try to copy lxc-init and
> liblxc.so.0 to the container without actually installing the package.

perhaps we should have lxc package providing configuration stuff, lxc-init
package providing lxc-init, and both depending on liblxc package, which
provides liblxc.so (with all the api and templates).




More information about the lxc-users mailing list