Hi All,

We are using in our company for a prototype the docker hypervisor on
openstack.  We have the need to mount a folder inside of a container.
To achieve this goal I have implemented a hack which allows to specify
a folder mount via nova metadata. For example a heat template could
look like:

 my-container:
    Type: OS::Nova::Server
    Properties:
      flavor: m1.large
      image: my-image:latest
      metadata:
         Volumes: "/host/path:/guest/path"

This approach is of course not perfect and even a security risk (which
is in our case no issue since we are not going to provide a public
cloud).
Any other ideas or plans how to provide the volume/folder mount in the future?

regards,
Daniel

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to