svfs icon indicating copy to clipboard operation
svfs copied to clipboard

Suggestion: docker volume plugin

Open auguster opened this issue 7 years ago • 1 comments

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:

  • docker plugin's API: https://docs.docker.com/engine/extend/plugins_volume/
  • openstorage's docker volume plugin for inspiration: https://github.com/libopenstorage/openstorage/tree/master/volume

Best regards,

auguster avatar Aug 15 '17 10:08 auguster

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

alphaDev23 avatar Dec 04 '18 19:12 alphaDev23