Jie Yu created MESOS-5307:
-----------------------------

             Summary: Sandbox mounts should not be in the host mount namespace.
                 Key: MESOS-5307
                 URL: https://issues.apache.org/jira/browse/MESOS-5307
             Project: Mesos
          Issue Type: Improvement
            Reporter: Jie Yu
            Assignee: Jie Yu


Currently, if a container uses container image, we'll do a bind mount of its 
sandbox (<sandbox> -> <rootfs>/mnt/mesos/sandbox) in the host mount namespace.

However, doing the mounts in the host mount table is not ideal. That 
complicates both the cleanup path and the recovery path.

Instead, we can do the sandbox bind mount in the container's mount namespace so 
that cleanup and recovery will be greatly simplified. We can setup mount 
propagation properly so that persistent volumes mounted at <sandbox>/xxx can be 
propagated into the container.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to