Skip to content

Commit

Permalink
Fix the lxc manpage a bit
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
stgraber committed Nov 25, 2014
1 parent cf6df00 commit 93b3ce1
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions doc/lxc.sgml.in
Expand Up @@ -135,35 +135,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

<para>

The kernel version >= 2.6.27 shipped with the distros, will
The kernel version >= 2.6.32 shipped with the distros, will
work with <command>lxc</command>, this one will have less
functionalities but enough to be interesting.

With the kernel 2.6.29, <command>lxc</command> is fully
functional.

The helper script <command>lxc-checkconfig</command> will give
you information about your kernel configuration.
</para>

<para>
Before using the <command>lxc</command>, your system should be
configured with the file capabilities, otherwise you will need
to run the <command>lxc</command> commands as root.
</para>

<para>
The control group can be mounted anywhere, eg:
<command>mount -t cgroup cgroup /cgroup</command>.

If you want to dedicate a specific cgroup mount point
for <command>lxc</command>, that is to have different cgroups
mounted at different places with different options but
let <command>lxc</command> to use one location, you can bind
the mount point with the <option>lxc</option> name, eg:
<command>mount -t cgroup lxc /cgroup4lxc</command> or
<command>mount -t cgroup -ons,cpuset,freezer,devices
lxc /cgroup4lxc</command>
It is however recommended to use cgmanager, cgroup-lite or systemd
to mount the cgroup hierarchy under /sys/fs/cgroup.

</para>

Expand Down

0 comments on commit 93b3ce1

Please sign in to comment.