Mesos containerizer
This is the default containerizer type provided by Mesos. In this type, tasks can be run through an array of pluggable isolators provided by Mesos. It can be enabled by configuring the agent flag as
--containerizers=mesos
This type is typically used when:
User needs to control the task environment through Mesos without having to rely on other container solutions.
Fine-grained OS controls are desired.
Custom resource isolation needs to be added for tasks.
User needs to control certain resource parameters (for example, disk usage limits) which are not exposed by other container solutions.
Any task which doesn't specify ContainerInfo::DockerInfo
will be handled by the Mesos containerizer.
The launching process
The container launching process includes the following steps:
Preparation of calls is done on every isolator.
The launcher, responsible for forking/destroying containers, is used to fork the executor. The forked 'child' cannot execute until the isolation step is completed.
The...