Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 985 Bytes

README.org

File metadata and controls

35 lines (28 loc) · 985 Bytes

vagrant-centos-lxc

This project provides LinuxContainers(lxc) on a vagrant VM on a host

Purpose

To provides LinuxContainers(lxc) on a vagrant VM on a host with Cent OS.

Backgrounds

  • On Mac(or Windows), it is difficult to use network tools in from linux.
    • For example, iptables, openvswitch.
  • I usually use Cent OS, but lxc infomation usually for Ubuntu.

Layout

LinuxContainers(lxc) on a vagrant VM on a host with Cent OS.

./images/layout.png

PreCondition to run

How-to run

  • clone git repo
    • %git clone https://github.com/otahi/vagrant-centos-lxc.git
  • vagrant up
    • %vagrant up
  • wait
  • login to vagrant VM
    • %vagrant ssh
  • login to lxc VMs
    • %ssh vm1
    • %ssh vm2