everpeace / vagrant-mesos

Spin up your Mesos Cluster with Vagrant! (VirtualBox and AWS)
https://github.com/everpeace/vagrant-mesos
MIT License
432 stars 138 forks source link

Docker provider support #20

Open everpeace opened 10 years ago

everpeace commented 10 years ago

Docker can spin up containers more quickly than virtualbox and aws. And vagrant supports docker provider.

We could utilize mesosphere's container mesosphere/mesos

I would like to keep using [cookbook-mesos] to provision mesos-{master|slave}.

kpx-dev commented 10 years ago

so in standalone/, vagrant up would show mesos and docker-mesos?

Ex:

Same strategy for multinode/.

What's your view on this @everpeace

everpeace commented 10 years ago

What I've image is that,

In standalone, $ vagrant up --provider=docker pulls mesosphere/mesos image from Docker hub and run it and provision mesos-master/slave with cookbook-mesos, and installs marathon and chronos.

In multinode, most part is the same except that we might need some network configurations between docker containers.