Hi Haessig, We didn't implement linking or volumes-from since any docker feature that is requiring from another docker container needs more work than just exposing these options since the other container might be in another slave that the docker container is going to be launched with.
The way we're currently thinking about volumes in general in Mesos, is that we're not trying to move your volumes to another slave, but instead try to launch any tasks that wants to re-use those volumes in the same slave. That is one big part of what the persistent resources work that is going on. Unless you're hoping Mesos can replicate your volumes for you, if you have a attached NAS to a set directory you can always mount volumes from a shared directory. At the current state we don't have a volumes story with docker yet, but like to get more use cases and see what's a good feasible option for us. About the sandbox, we mount the sandbox as a convenience for the user as all the files that are downloaded for that task is stored in the sandbox, so if the container wants to access it it can look at the volume that is mounted. Tim On Mon, Oct 20, 2014 at 1:16 PM, Haessig Michael <[email protected]> wrote: > I have successfully setup a Mesos Marathon Cluster running in HA mode. > > I can start docker instances, i also know how to map a host volume path to > docker volumes. > > I'm looking for a way to persist some docker volumes in a more portable > way. I'm thinking about a Docker Volume Container. But by looking at the > sourcecode of the mesos docker integration > > > https://github.com/apache/mesos/blob/880c5a362d1c106c4f0758ed88d44db1a3053dda/src/docker/docker.cpp#L328 > > i can see that the docker parameter --volumes-from is not implemented. > > how do you guys use docker volumes trough mesos ? is there a better way ? > i want the volumes to be able to be ported to another slave to restart the > job there with the same data. > > > Another question about the mesos docker code, > https://github.com/apache/mesos/blob/880c5a362d1c106c4f0758ed88d44db1a3053dda/src/docker/docker.cpp#L349 > > here at line 349 mesos mapps the sandbox directory to the container ? what > is the purpouse of this ? > > any more information or help is more than welcome, thanks in advance :) >

