On 03/10/2015 11:41 PM, Tim Chen wrote:
> Hi all,
> 
> As Alex said you can run Mesos in CoreOS without Docker if you put in
> the dependencies in.
> 
Tim, is there any documentation of using Mesos outside container in
CoreOS available or binary available which we can wget in cloud-init
file to fulfill dependencies. As we would like to test it out Mesos on
CoreOS outside docker.

- Gurvinder
> 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]
> <mailto:[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
> 
> 

Reply via email to