Skip to main content

Posts

Showing posts from June, 2016

Setting up Linux Containers

Make sure system has 3.10+ {*Specifically, 3.16-0.generic*} for our software purpose. Install LXC On Ubuntu 1. sudo apt-get update LXC is available on Ubuntu default repositories. So, Run the following command to install it on Ubuntu, and its derivatives. 2. sudo apt-get install lxc lxctl lxc-templates The above command will install LXC, and everything needed by LXC. Now, enter the following command to check everything OK. 3. sudo lxc-checkconfig Sample Output: Kernel configuration not found at /proc/config.gz; searching... Kernel configuration found at /boot/config-3.19.0-15-generic --- 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: