I started sketching a docker executor a couple weeks ago, communicating directly to the docker daemon using the docker remote api. I stalled when it came to monitoring / process lifetime, however.
1) docker, in the current daemon mode, runs containers as subprocesses of the daemon, meaning it "breaks" mesos isolation. Not a critical issue, but kind of ugly. 2) Because of #1, it's trickier to track lifetime of the container, basically polling the rest api to see if it's still around. It felt like the wrong approach, so I ditched my experiment. Now, docker issue #1311 (https://github.com/dotcloud/docker/issues/1311) is really interesting from a mesos perspective. With a "docker exec" command that runs a container just like a normal process, these concerns should be addressed, and mesos own process monitoring would work as expected. On Wed, Aug 28, 2013 at 9:26 PM, Dave Lester <[email protected]>wrote: > There's an interesting pull request on github to launch dockers on Mesos: > https://github.com/dotcloud/docker/pull/1397. Who else is doing work with > Docker + Mesos, or interested in doing so? It would be great to pool our > efforts. > > One thing that jumped out at me about this implementation is that it uses > Redis instead of Zookeeper. Still, I'm pretty stoked to see this. > > Dave >
