Vagrant and LXC
Vagrant is a great open source project that provides a way for building isolated development environments, utilizing various virtualization technologies such as KVM and LXC, through the use of plugins.
In this section, we are going to briefly touch on how to set up a Vagrant development environment using LXC for isolation.
Let's start by downloading and installing Vagrant on Ubuntu:
root@ubuntu:~# cd /usr/src/ root@ubuntu:/usr/src# wget https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.deb --2016-09-26 21:11:56-- https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.deb Resolving releases.hashicorp.com (releases.hashicorp.com)... 151.101.44.69 Connecting to releases.hashicorp.com (releases.hashicorp.com)|151.101.44.69|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 76325224 (73M) [application/x-debian-package] Saving to: 'vagrant_1.8.5_x86_64.deb' 100%[============================================================ ==...