Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome or Safari browser. Firefox 10 (to be released soon) will also handle it.

vagrant-lxc を触ってみた


Kohei Hasegawa / @banyan / paperboy&co.
Chef Casual Talks Vol.1 / 20130415

LXC とは?

Vagrant + LXC

vagabond の README の中に

最近の Rails アプリケーションの開発環境の傾向

vagrant-lxc で Vagrant/VB と速さを比較してみたい

setup vagrant-lxc

$ sudo apt-get -y install lxc redir
$ wget "http://files.vagrantup.com/packages/64e360814c3ad960d810456add977fd4c7d47ce6/vagrant_`uname -m`.deb" -O /tmp/vagrant.deb
$ sudo dpkg -i /tmp/vagrant.deb
$ vagrant plugin install vagrant-lxc
$ vagrant box add lxc-quantal64 http://dl.dropbox.com/u/13510779/lxc-quantal64-2013-04-10.box
$ vagrant up --provider=lxc

Spec for Mac

Spec for Ubuntu

Vagrant/VB on Mac (memory は 2GB にした)

real    134m21.753s
user    24m7.230s
sys     66m6.972s

vagrant-lxc on Ubuntu (m1.small)

real    68m20.202s
user    50m21.161s
sys     11m42.844s

Vagrant/VB on Mac with NFS

real    68m55.946s
user    25m44.357s
sys     23m32.856s

結論

所感

ありがとうございました :)

Use a spacebar or arrow keys to navigate