Description
Right now, if Mesos user needs hooks like slavePreLaunchDockerHook, they would need to maintain the compiling, building and packaging of a dynamically linked library in c++ in house.
Designs like Docker's Volume plugin simply requires user to implement a predefined REST API in any language and listen at a domain socket. This would be more flexible for companies that does not use c++ as primary language.
This ticket is exploring the possibility of whether Mesos could provide a default module that 1) defines such API and 2) proxies out to the external agent for any heavy lifting.
Please let me know whether you think is seems like a reasonable feature/requirement.
I'm more than happy to work on this than maintain this hook in house in the longer term.