User Tools

Site Tools


proxmox:introduction_to_linux_container_lxc

This is an old revision of the document!


Introduction

A Linux Container is an operating-system-level virtualization environment for running multiple isolated Linux systems on a single Linux control host (Wikipedia LXC). It can be also defined as a lightweight VM but extremely fast and easy to deploy.

There is not much overhead and therefore it's the perfect solution for effective use of resources.

No extra kernel boot is necessary on startup resulting in a super fast boot.

Linux Containers are introduced in Proxmox VE 4.0 and support the Proxmox Storage Model.

System requirements

  • Proxmox VE 4.0 or higher

Features

  • Support of local directories(NOTE:not on ZFS use instead ZFSPoolPlugin), NFS, ZFS, LVM, Ceph and DRBD9 (other will/can follow)
  • manipulate disk size
  • snapshot, rollback, clone, linked clone (all these features need storage support)
  • Kernel namespaces (ipc, uts, mount, pid, network and user)
  • Apparmor profiles
  • Seccomp policies
  • Chroots (using pivot_root)
  • Kernel capabilities
  • CGroups (control groups)
  • Migration
  • Backup and restore
  • Integrated firewall
  • Network support for VLAN, IPv4, IPv6

Supported OS

  • Debian 6, 7, 8
  • CentOS 6
  • Ubuntu 12.04, 14.04, 15.04
  • Archlinux

Other OS are following step by step.

Manage containers

Management can be done either via the web gui, or via command line tools

Get a container template

All templates can be downloaded at the GUI.

NOTE: Only the supported OS work

If the containers are not yet visible use the following pve command to update the list.

pveam update

Resources

proxmox/introduction_to_linux_container_lxc.1447872265.txt.gz · Last modified: 2015/11/18 13:44 by cbustillo