Diff for "LXC"


Differences between revisions 1 and 2
Revision 1 as of 2010-01-29 08:09:17
Size: 998
Editor: cliente-57323
Comment: With bodhi.zazen
Revision 2 as of 2010-01-29 16:20:50
Size: 1955
Editor: stpete
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 1. Isolate single processes, IE a webserver.
 1. VPS
Line 8: Line 11:
== kernel requiremetns == == kernel requirements ==

The Linux container capabilities are part of the main stream linux kernel and require kernel version >= 2.6.27

There are no requirements to compile a kernel or apply patches.


== User space tools (lxc) ==

The user space tools, or lxc, are a set of scripts that manage linux containers.

You may install the lxc user space tools from the Ubuntu repositories.
Line 11: Line 26:
install lxc from git
Line 13: Line 27:

Or download the latest stable package from sourceforge and compile them yourself. The lxc project maintains a git repository for a bleeding edge set of tools.

== Networking ==

There are several networking options available, the consensus appears to be that bridging your network card is the best option. As such I will cover bridging your network card here, hopefully this information can be expanded.
Line 25: Line 45:
 * [[http://lxc.sourceforge.net/|LXC Home page (Sourceforge)]]
 * [[http://lxc.sourceforge.net/lxc.html|LXC overview (Sourceforge)]]

Overview

LinuX Containers (LXC) provide lightweight virtualization that lets you isolate processes and resources without the need to provide instruction interpretation mechanisms and other complexities of full virtualization.

User case examples

  1. Isolate single processes, IE a webserver.
  2. VPS

Host configuration

kernel requirements

The Linux container capabilities are part of the main stream linux kernel and require kernel version >= 2.6.27

There are no requirements to compile a kernel or apply patches.

User space tools (lxc)

The user space tools, or lxc, are a set of scripts that manage linux containers.

You may install the lxc user space tools from the Ubuntu repositories.

apt-get install lxc

Or download the latest stable package from sourceforge and compile them yourself. The lxc project maintains a git repository for a bleeding edge set of tools.

Networking

There are several networking options available, the consensus appears to be that bridging your network card is the best option. As such I will cover bridging your network card here, hopefully this information can be expanded.

Container configuration

options/examples for congig files chroot/debootstrap/febootstrap lxc-debian / lxc-fedora lxc-console / ssh into containers

Migrate OpenVZ containers

Application configuration

See also

LXC (last edited 2014-07-29 22:20:53 by 192)