Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2374

Support relative host paths for container volumes

    XMLWordPrintableJSON

Details

    Description

      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).

      Attachments

        Activity

          People

            tnachen Timothy Chen
            nethergoat Mike Babineau
            Timothy Chen Timothy Chen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: