This blog is part of my ongoing series on Docker containers. In this blog, I will take a deviation from Docker and focus on LXC. LXC manages Containers like Docker, there are some differences, I will cover the differences in a later blog. LXC is an Opensource Linux container project from Linuxcontainers.org that provides an user space interface to manage Linux containers.There are other projects from linuxcontainers.org focusing on containers like LXD, LXCFS, CGManager etc. In this blog, I will cover some hands-on stuff I tried with LXC.
My environment:
Ubuntu 14.04 running in Virtuabox in Windows 7.
Hands-on:
To install lxc, I followed the below steps:
sudo apt-get update sudo apt-get install lxc
Following command creates a Ubuntu LXC container.
sudo lxc-create -t ubuntu -n cn-01
