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. :)
-- brion
On Tue, Mar 3, 2015 at 11:26 AM, Bryan Davis <bd808(a)wikimedia.org> wrote:
We have working support for installing
MediaWiki-Vagrant in an LXC
container now!
See the instructions in support/README-lxc.md [0] for a description of
how to use it from a Ubuntu 14.04 host computer. Patches are welcome
giving alternate instructions for other distributions. Note that
Vagrant 1.7+ is required for the latest version of the vagrant-lxc
plugin that this uses so you will probably not be able to install
Vagrant from a package repo unless you are running Debian unstable.
Making using MediaWiki-Vagrant a lighter weight experience for users
who are running Linux on their laptops. I took a shot at this right
after Wikimania last year by figuring out how to use MediaWiki-Vagrant
to provision a Docker container. That experiment made a system that we
too unstable for me to promote anyone using it as more than a proof of
concept. Since then I've "been meaning to" try out LXC by using the
vagrant-lxc plugin [1] and last weekend I finally found the time.
Thanks to Marko Obrovac and Dan Duvall for helping test this.
[0]:
https://phabricator.wikimedia.org/diffusion/MWVA/browse/master/support/READ…
[1]:
https://github.com/fgrehm/vagrant-lxc
--
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
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l