Install LXC on CentOS 7 Minimal Version

Some notes for LXC. CentOS 7 minimal version doesn’t support LXC installation by default since LXC is deprecated in version 7. The new container solution is based on docker framework.

There is an alternative to install LXC. Following are procedures:

  1. Install Epel (Extra Packages for Enterprise Linux) repository.
    # yum install epel-release
  2. Install some dependencies.
    # yum install perl debootstrap libvirt
  3. Now you can install LXC in the epel repository.
    # yum install lxc lxc-template