Project: mesos
Issue MESOS-2595: Create docker executor
Currently we're reusing the command executor to wait on the progress of the docker executor, but has the following drawback: - We need to launch a seperate docker log process just to forward logs, where we can just simply reattach stdout/stderr if we create a specific executor for docker - In general, Mesos slave is assuming that the executor is the one starting the actual task. But the current docker containerizer, the containerizer is actually starting the docker container first then launches the command executor to wait on it. This can cause problems if the container failed before the command executor was able to launch, as slave will try to update the limits of the containerizer on executor registration but then the docker containerizer will fail to do so since the container failed. Overall it's much simpler to tie the container lifecycle with the executor and simplfies logic and log management.
Story points: 8