any good, current docs on LXC on ubuntu (10.10)?

Robert P. J. Day rpjday at crashcourse.ca
Sun Dec 19 10:37:54 UTC 2010


  i just ran across LXC (LinuX Containers) for lightweight
virtualization:

  https://help.ubuntu.com/community/LXC

but it seems clear that even that ubuntu community page is somewhat
out of date.

  as just one example, a good chunk of that page describes how you
should create your new /etc/init.d/lxc service script when, AFAICT,
the "lxc" package installs that very script, so at least that part of
the page isn't accurate anymore.

  in any event, some quick questions:

1) is there a more accurate page out there somewhere?  someone who's
gone through LXC setup on ubuntu and written it down?

2) does LXC represent a replacement for openvz?  that's certainly what
a couple pages seem to suggest.  that is, if you've never worked with
openvz, you might just as well start with LXC.

3) the docs also state that the "normal" kernel configuration already
contains support for user-space LXC.  would this be the "namespaces"
feature that that refers to?  i assume it is, and from what i can see,
the stock ubuntu kernel ships with:

 --- Namespaces support
 [*]   UTS namespace
 [*]   IPC namespace
 [*]   User namespace (EXPERIMENTAL)
 [*]   PID Namespaces
 [*]   Network namespace

so i'm guessing that covers all the possibilities for LXC support in
the kernel.

  thanks.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list