Is there any documentation describing what's necessary to run mesos master and slaves in Docker containers? You already mentioned a few things (mounting work dir, /sys/fs, etc).
Thanks On Tue, Mar 10, 2015 at 6:41 PM, Tim Chen <[email protected]> wrote: > Hi all, > > As Alex said you can run Mesos in CoreOS without Docker if you put in the > dependencies in. > > It is a common ask though to run Mesos-slave in a Docker container in > general, either on CoreOS or not. It's definitely a bit involved as you > need to mount in a directory for persisting work dir and also mounting in > /sys/fs for cgroups, also you should use the --pid=host flag since Docker > 1.5 so it shares the host pid namespace. > > Although you get a lot less isolation, there are still motivations to run > slave in Docker regardless. > > One thing that's missing from the mesos docker containerizer is that it > won't be able to recover tasks on restart, and I have a series of patches > pending review to fix that. > > Tim > > On Tue, Mar 10, 2015 at 3:16 PM, Alex Rukletsov <[email protected]> > wrote: > >> My 2¢. >> >> >>> First of all, it doesn’t look like a great idea to package resource >>> manager into Docker putting one more abstraction layer between a resource >>> itself and resource manager. >>> >> >> You can run mesos-slave on CoreOS node without putting it into a Docker >> container. >> >> —Alex >> > > -- https://github.com/mindscratch https://www.google.com/+CraigWickesser https://twitter.com/mind_scratch https://twitter.com/craig_links

