[lxc-devel] [PATCH] Fix the lxc manpage a bit

Serge Hallyn serge.hallyn at ubuntu.com
Tue Nov 18 17:35:54 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  doc/lxc.sgml.in | 21 +++------------------
>  1 file changed, 3 insertions(+), 18 deletions(-)
> 
> diff --git a/doc/lxc.sgml.in b/doc/lxc.sgml.in
> index 85cd31a..1bafaf2 100644
> --- a/doc/lxc.sgml.in
> +++ b/doc/lxc.sgml.in
> @@ -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>
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list