Mesos has its own containerizer implemenation or employ Docker to do that.
Framework can specify which containerizer layer by using:
containerInfo.set_type(ContainerInfo::DOCKER);
^^^^ or MESOS
See below example if it helps clear your puzzle.
https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=blob;f=src/examples/docker_no_executor_framework.cpp;h=cf7b4e1b4a27a3a6d484b1e205b5ca1c3ec583e1;hb=HEAD#l103
On 2016/2/22 14:22, Krish wrote:
I was wondering if we can have both containerized (docker) &
non-containerized workloads running at the same time on Mesos agents/slaves.
I see from the mesos-slave command help that there is a 'containerizers'
option in the CLI & it will enforce the usage of containers to be used.
It doesn't seem to support non-containerized workloads.
Is my analysis correct?
Also, if the above is correct, how does one tell the frameworks
(Aurora/Marathon/Cassandra frameworks) to use containerized vs
non-containerized workload slaves to schedule jobs?
--
κρισhναν