ovh / svfs

The Swift Virtual File System
Other
374 stars 54 forks source link

Suggestion: docker volume plugin #146

Open auguster opened 7 years ago

auguster commented 7 years ago

Hello OVH,

I'm currently using svfs in a docker container to mount the object storage. The issue I'm facing is that to use this I have to add svfs capabilities to my container. As far as I know I cannot share mounted drive from one container to another. It's not very practical to do such docker image extension as I have to rewrite the entrypoint/cmd command to add a script that launches the svfs mount and the container's original entrypoint. To be able to mount swift with svfs the container must be run as privileged which is not really ideal.

I would seem that the best approach would be to implement a docker volume plugin for openstack swift. It would make everything simpler. Could you please consider making such volume plugin ? There are already many volume plugin, just none for openstack swift (https://docs.docker.com/engine/extend/legacy_plugins/#volume-plugins)

Beside, I think it could benefit your sunrise containers offer to be able to use object storage easily without the need to rebuild the container with svfs.

Here is some pointers about it:

Best regards,

alphaDev23 commented 5 years ago

Any update on this request? An Openstack Swift volume plugin would be beneficial.