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

Support for creation non-existing host paths in a whitelist as source paths

    XMLWordPrintableJSON

Details

    • Containerization RI11 Sp 40
    • 5

    Description

      Docker creates a directory specified in docker run's --volume/-v option as the source path that will get bind-mounted into the container, if the source location didn't originally exist on the host.

      Unlike Docker, UCR bails on launching containers if any of their host mount paths doesn't originally exist. While this is more secure and eliminates unnecessary side effects, it breaks transparent compatibility when trying to migrate from Docker.

      As a trade-off, we should allow host path creation in a restricted manner, by introducing a new Mesos agent flag (--host_path_volume_force_creation) as a colon-separated whitelist (similar to the format of POSIX's $PATH environment variable), under whose items' subdirectories the host paths are allowed to be created.

      Attachments

        Activity

          People

            jasonlai Jason Lai
            jasonlai Jason Lai
            Gilbert Song Gilbert Song
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: