-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gluster Volume per Container or Shared Gluster Volume #14
Comments
That how docker-compose works. It define the name of volume by default by prepending with stack name. You can define a volume in docker and use docker-compose volume external : https://docs.docker.com/compose/compose-file/#external. docker-volume-gluster/gluster/gluster.go Line 19 in 85f64e4
|
the name of the volume But I guess the best option for that is to automatically create gluster volumes on demand. |
btw. did you look at https://github.com/heketi/heketi, its basically a rest api for gluster, might be an option if you plan to add an option that can create volumes on demand |
If you use --mount-uniq it will mount base on volume name so only one mount on host. |
fix by #16 |
I manually created a gluster volume
gv0
. Now I had the expectation that when use the plugin, I can use this single gluster volumegv0
for multiple container.I guess It is not intended to be used in this way, (or I can't find an alternative), because the data are stored in the root folder of the gluster volume
gv0/
. I was actually expecting them ingv0/portainer-data/...
So is it intended that each container should have its own gluster volume?
The text was updated successfully, but these errors were encountered: