DC/OS on top of a docker container cluster DC/OS on top of a docker container cluster docker docker

DC/OS on top of a docker container cluster


We're running such a development configuration where ZooKeeper, Mesos Masters and Slaves as well as Marathon runs fully dockerized (but on 3 bare metal machine cluster) on CoreOS latest stable. It has some known downsides, like when a slave dies the running tasks cannot be recovered AFAIK by the restarted slave.

I think it also depends on the OS what you're running on your laptop. If it's non-Windows, you should normally be fine. If your system supports systemd, then you can have a look at tobilg/coreos-setup to see how I start the Mesos services via Docker.

Still, I would recommend to use a Vagrant/VirtualBox solution if you just want to test how Mesos works/"feels"... Those will probably save you some headaches compared to a "from scratch" solution. The tobilg/coreos-mesos-cluster project runs the services via Docker on CoreOS within Vagrant.

Also, you can have a look at dharmeshkakadia/awesome-mesos and especially the Vagrant based setup section to get some references.


Have a look at https://github.com/dcos/dcos-docker it is quite young but enables you to do exactly what you want.

It starts a DC/OS cluster with masters and agents on a single node in docker containers.