[Lxc-users] Failed to setup networking within container

Daniel Baumann daniel.baumann at progress-technologies.net
Tue Jan 3 23:11:09 UTC 2012


On 01/03/2012 11:58 PM, Vedran Furač wrote:
> Host (Debian testing, lxc 0.7.5)

it's strongly recommended to upgrade to lxc 0.7.5-17 (from sid), as it
has some important bug fixes over wheezy (0.7.5-9).

> Container (Debian stable)

did you create the container with lxc-debian? if so (and after upgrading
to sids lxc), consider recreating it as the newer lxc-debconf template
(which you use when invoking lxc-debian on debian) fixes another bunch
of stuff. note that since you're building a squeeze container, you'll
need to put the linux-container deb (1-4 from sid, preferably) into
/usr/share/lxc so that lxc-debconf can pick it up (as linux-container is
not directly included in squeeze).

doing all of the above will lead to properly working containers out of
the box.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann at progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




More information about the lxc-users mailing list