Giter VIP home page Giter VIP logo

Comments (6)

sapk avatar sapk commented on August 18, 2024 1

yes in the todo list #5 and add env #15 for docker-plugin just rigth now ^^

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

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.
If you use plugin directly in host (not docker plugin) it has a option to mount gluster on gluster volume name so even if there is multiple docker volume only on is mount and shared by gluster.

MountUniqNameFlag = "mount-uniq"
It should be able to do the same with docker-plugin but need to be passed by env variable (not implemented)

from docker-volume-gluster.

Vad1mo avatar Vad1mo commented on August 18, 2024

the name of the volume glusterfs:latest portainer_portainer-data is fine for me. I was expecting that there is a way where its possible to use a gluster volume like gv0 for many different containers at the same time. eg. gv0/postgress-db-data and gv0/mysql-db-dta

But I guess the best option for that is to automatically create gluster volumes on demand.

from docker-volume-gluster.

Vad1mo avatar Vad1mo commented on August 18, 2024

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

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

If you use --mount-uniq it will mount base on volume name so only one mount on host.

from docker-volume-gluster.

sapk avatar sapk commented on August 18, 2024

fix by #16

from docker-volume-gluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.