On Tue, Mar 3, 2015 at 1:43 PM, Brion Vibber <bvibber(a)wikimedia.org> wrote:
Awesome!
Is it possible to use a Linux VM as the actual LXC container on a Mac or
Windows host system, as with Vagrant's Docker provider?
This could allow consolidating multiple Vagrant instances on one VM, or
sharing a VM between Vagrant and a Linux GUI used for testing or specialty
apps.
Well, to half-answer my question:
https://taoofmac.com/space/HOWTO/Vagrant
indicates it's at least possible, though it doesn't seem to be as
conveniently packaged up as Boot2Docker yet. :)
I started playing with a setup based on that Tao of Mac post on Sunday
but I didn't get to the point of having a fully working solution yet.
With a little more experimentation I hope to have a Vagrantfile and
base box that you could drop in $HOME or a similar common directory
that boots a Linux VM that is all setup to run vagrant-lxc inside it.
In the short term I'll probably focus more on the labs-vagrant
replacement use case in my spare time however so feel free to beat me
to the more general solution. :)
Bryan
--
Bryan Davis Wikimedia Foundation <bd808(a)wikimedia.org>
[[m:User:BDavis_(WMF)]] Sr Software Engineer Boise, ID USA
irc: bd808 v:415.839.6885 x6855