ContainerSolutions / mesos-starter

https://container-solutions.com/mesos-starter/
45 stars 10 forks source link

Add support for Docker volumes #11

Closed mwl closed 8 years ago

mwl commented 8 years ago

Something like

mesos:
  resources:
    volumes:
      - hostPath: /foo/bar
        containerPath: /baz/foo/bar
        readonly: false #Optional

and

mesos.resources.volumes[0].hostPath=/foo/bar
mesos.resources.volumes[0].containerPath=/baz/foo/bar
mesos.resources.volumes[0].readonly=false #Optional
jocatalin commented 8 years ago

Your suggested implementation will be sufficient for me have a db cluster with persistent local storage that can restart the db in case of failures.

jocatalin commented 8 years ago

LGTM

Approved with PullApprove