LXC Debian Jessie

This document shows how to install LXC environment and start first container with Debian 8 Jessie.

The basic installation requires the following packages:

 apt-get -y install lxc bridge-utils

Check the configuration of LXC into the host box with `lxc-checkconfig` command:

 # lxc-checkconfig
 Kernel configuration not found at /proc/config.gz; searching...
 Kernel configuration found at /boot/config-3.16.0-4-amd64
 --- Namespaces ---
 Namespaces: enabled
 Utsname namespace: enabled
 Ipc namespace: enabled
 Pid namespace: enabled
 User namespace: enabled
 Network namespace: enabled
 Multiple /dev/pts instances: enabled
 --- Control groups ---
 Cgroup: enabled
 Cgroup clone_children flag: enabled
 Cgroup device: enabled
 Cgroup sched: enabled
 Cgroup cpu account: enabled
 Cgroup memory controller: enabled
 Cgroup cpuset: enabled
 --- Misc ---
 Veth pair device: enabled
 Macvlan: enabled
 Vlan: enabled
 File capabilities: enabled
 Note : Before booting a new kernel, you can check its configuration
 usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig

Continue with

  • docs/virtualizacion/lxc/lxc_debian.txt
  • Última modificación: 2018/03/07 02:29
  • (editor externo)