mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Tapp (JIRA)" <>
Subject [jira] [Commented] (MESOS-2374) Support relative host paths for container volumes
Date Tue, 23 Jun 2015 15:12:00 GMT


Martin Tapp commented on MESOS-2374:

Seems to affect this line
volumeConfig = volume.host_path() + ":" + volumeConfig
Instead of using volume.host_path, should refer to local sandbox path when relative path.
Anyone can submit a patch for this.

> Support relative host paths for container volumes
> -------------------------------------------------
>                 Key: MESOS-2374
>                 URL:
>             Project: Mesos
>          Issue Type: Improvement
>          Components: containerization, docker
>    Affects Versions: 0.21.1
>            Reporter: Mike Babineau
> There is no convenient way to mount sandbox subdirectories (such as unpacked archives
from fetched URIs) as container volumes.
> While it is possible to access sandbox subdirectories via $MESOS_SANDBOX, this presumes
the container is expecting $MESOS_SANDBOX to be passed in. Furthermore, it also expects the
container already knows the resulting subdirectory paths. Unfortunately, since the archives
are extracted by the fetcher, operators can not control these paths. Path changes to the extracted
archive must be accompanied by a container image change.
> One potential solution:
> Add support for relative paths to the containerizer. If the containerizer is given a
relative host path, it simply prepends the sandbox path before passing it to Docker (or similar).

This message was sent by Atlassian JIRA

View raw message