mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-13 22:49:29 +00:00
Fix the lxc manpage a bit
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
6df4f94574
commit
0dcbd62472
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user