User Tools

Site Tools


docs:lxc

This is an old revision of the document!


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

Contents

Guest creation

Build the guest system:

# lxc-create -t pld-test -p pld -f network-configuration-file

There are two versions of PLD available for guest systems:

You may choose one using -R option:

# lxc-create -t pld-test -p pld -f network-configuration-file -- -R th

!!! WARNING: pld template for LXC is yet to be written !!!

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
docs/lxc.1384805950.txt.gz · Last modified: 2013-11-18 21:19 by glen