1
Linux Container for Debian
2
--------------------------
4
The way setting up a new container for LXC works is to executes a so called
5
template script. Such a template script, for Debian it's called 'lxc-debian'
6
and can be addressed with 'lxc-create -t debian', creates a minimal system by
9
The resulting system then is modified by that template script in order to work
10
as a container for LXC. This includes both non-intrusive changes like disabling
11
uneeded services and some more intrusive changes like replacing /etc/inittab.
12
However, if a system should work as an container for LXC, these changes have to
13
be done and there is no way arround it.
15
Having all this logic in a template script is rather limited and all
16
improvements to template scripts are only active once a new container has been
17
created with it. Old containers cannot profit from that. A much better way to
18
deploy and maintain these changes is to use the standard packaging way. That is
19
what the 'linux-container' package does. Together with a template script that
20
uses debconf for distribution selection, it will allow preseedable setup of
21
linux-containers for any Debian and Debian based distribution.
23
-- Daniel Baumann <daniel.baumann@progress-technologies.net> Fri, 04 Nov 2011 16:09:39 +0100