Hey

I posted this on IRC but I don’t think anyone was around… I've started to 
implement a crude docker isolator (until MESOS-816 is finished) and come up 
against a wall. The ExecutorLauncher class is usually responsible for setting 
up the environment/invoking the mesos-launcher script, however when inside a 
docker container none of these files exist.

I'm in two minds, whether to do something crazy and mount the relevant 
directories as volumes within the container (so the container can access the 
mesos lib/launcher script etc) or to require that the docker image contains all 
of these things.. and the executor for the specific mesos task and any other 
files that are in the sandbox..

The mounting option requires that the container has all of the required 
dependencies installed to run mesos… i’m leaning towards requiring the 
container to include everything for the task, including the executor. Though it 
*is* possible to inject files into the container filesystem so it’d be an added 
bonus if files from the sandbox (jars etc) could be put into the container to 
make docker images a little more re-usable across different frameworks.

Any thoughts on my direction would be very much appreciated.

—

Tom Arnfeld
Developer // DueDil

Reply via email to