Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Usage on debian hosts

Zsolt Takács edited this page Aug 25, 2013 · 12 revisions

This guide assumes you are running wheezy.

Installing lxc

You have to install lxc from jessie, to do this create /etc/sources.list.d/jesse.list with the contents:

deb http://http.debian.net/debian jessie main
deb-src http://http.debian.net/debian jessie main

To pin the lxc package to jesse, create /etc/apt/preference.d/lxc_jessie_pin.pref:

Package: *
Pin: release n=jessie
Pin-Priority: 100

Package: lxc
Pin: release n=jessie
Pin-Priority: 600

Now you can install the packages:

sudo apt-get install lxc redir bridge-utils

You have to add cgroups to /etc/fstab:

none        /sys/fs/cgroup        cgroup        defaults    0    0

The mount it:

sudo mount /sys/fs/cgroup

Network configuration

Clone this wiki locally