[PLDWWW] page changed: docs:lxc

"Elan Ruusamäe (glen)" glen at pld-linux.org
Tue Nov 19 00:47:50 CET 2013


structuring

--- https://www.pld-linux.org/docs/lxc?rev=1384818384
+++ https://www.pld-linux.org/docs/lxc
@@ -1,11 +1,7 @@
- /* pragma: section-numbers 2 */
+ ====== LXC - Linux Container Tools ======
  
- 
- ====== LXC - Linux Container Tools ======
  LXC is a tool to create and manage containers. It contains a full featured container with the isolation / virtualization of the pids, the ipc, the utsname, the mount points, /proc, /sys, the network and it takes into account the control groups. It is very light, flexible, and provides a set of tools around the container like the monitoring with asynchronous events notification, or the freeze of the container. This package is useful to create Virtual Private Server, or to run isolated applications like bash or sshd. 
- 
- 
  
  ===== Resources =====
  
    * [[http://lxc.sourceforge.net|LXC Project homepage]]
@@ -17,18 +13,14 @@
    * [[https://help.ubuntu.com/12.04/serverguide/lxc.html|Ubuntu Server Guide]]
    * [[http://wiki.alpinelinux.org/wiki/LXC|Alpine Linux Docs]]
    * [[http://libvirt.org/drvlxc.html|libvirt LXC driver]]
    * [[http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/|Systemd Container Interface]]
- ===== Contents =====
- /* UndefinedMacro: TableOfContents(None) */ 
  
- 
- 
- ==== Guest creation ====
+ ===== Guest creation =====
  
  Build the guest container.
  
- === Bare minimum, no template ===
+ ==== Bare minimum, no template ====
  
  <file bash>
  # lxc-create -n test
  lxc-create: No config file specified, using the default config /etc/lxc/default.conf
@@ -41,9 +33,9 @@
  </file>
  
  this just creates ''$LXC_ROOT/test'' directory with ''config'' copied from ''/etc/lxc/default.conf'' inside.
  
- === PLD Linux from template ===
+ ==== PLD Linux from template ====
  
  create guest with default config using pld template:
  <file>
  # lxc-create -n test -t pld
@@ -63,15 +55,18 @@
  # lxc-create -t pld-test -p pld -f network-configuration-file -- -R th
  </file>
  
  !!! WARNING: pld template for LXC is yet to be written !!! 
- ==== Vserver comparision ====
+ 
+ ===== Vserver comparision =====
  
  ^ Vserver ^ LXC ^ Notes ^
  | vserver test enter | lxc-attach -n test -e | Use ''-e'' option with care, especially when restarting processess |
  | vserver test start | lxc-start -n test -d |
  | vserver test stop | lxc-stop -n test |
  | vserver-stat | %%lxc-ls --fancy --running%% | you need ''python3-lxc'' installed for this tool |
+ 
+ ===== Sample configs =====
  
  ==== config for network ====
  
  static networking, set ''VSERVER=yes'' and ''VSERVER_ISOLATION_NET=yes'' in guest ''/etc/sysconfig/system'' to disable all network configuration by guest.


Diff URL:
  https://www.pld-linux.org/docs/lxc?do=diff&r1=1384818384&r2=1384818470
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list