Hi Hendrik,

If you want to run Docker jobs, it may be a good idea to get volumes from
“Docker” volume plugin.

There is a project by EMC - mesos-dvdi, which abstracts the volume
creation. Please check this out and it should work with your scheduler …


https://github.com/emccode/mesos-module-dvdi

Thx
<https://github.com/emccode/mesos-module-dvdi>
<https://github.com/emccode/mesos-module-dvdi>
<https://github.com/emccode/mesos-module-dvdi>
<https://github.com/emccode/mesos-module-dvdi>


On Thu, Jun 23, 2016 at 7:56 AM, Hendrik Haddorp <[email protected]>
wrote:

> Hi,
>
> I'm trying to write a Mesos framework that should create persistent
> volumes and then start a Docker container that uses this. So far I was
> able to dynamically reserve resources (cpu, memory and disk) and create
> a persistent volume in the reserved disk space. I'm also able to launch
> a Docker container. I just can't figure out how to connect these
> correctly. I either get told that some fields are not set correctly, end
> up with mounting a path on the host system or nothing at all seems to
> happen.
>
> Would be nice if somebody could show how a TaskInfo protobuf would need
> to get filled to achieve this.
>
> thanks,
> Hendrik
>

Reply via email to