4
You need to be running at least Linux 2.6.29 or above to fully avail of this
5
package. Previous versions of Linux have some but not all the needed features,
6
and even when applying patches won't allow using sysfs and network namespaces
7
at the same time, thus providing a very limited experience. You can use the
8
provided lxc-checkconfig to check for missing kernel features in a kernel
11
If you want to experiment with containers either wait for Debian to provide the
12
correct kernel version or build your own kernel.
14
If you want to make container usable by non-root users, run lxc-setcap as root,
15
and some capabilities will be set so that normal users will be able to use the
16
container utils. This is not done by default, though, and you have to
19
lxc uses the control groups file system to control the various container
20
features. In order for this to work the cgroup filesystem must be mounted
21
somewhere. The exact location doesn't matter, as lxc will scan the mounted
22
filesystems list to find it automatically. For example you can create the
23
/var/local/cgroup directory and then add this entry to fstab to mount the
24
control groups filesystem there:
26
cgroup /var/local/cgroup cgroup defaults 0 0
29
Autostart containers on boot
30
----------------------------
32
If you want to start lxc containers on boot you have to create a symlink from
33
the /etc/lxc/auto directory to your lxc configuration.
35
ln -s /etc/lxc/bar.conf /etc/lxc/auto/bar.conf
37
-- Guido Trotter <ultrotter@debian.org> Fri, 12 Jun 2009 15:13:55 +0100