docker-volume-gluster icon indicating copy to clipboard operation
docker-volume-gluster copied to clipboard

mounting sub dirs

Open lukicsl opened this issue 6 years ago • 0 comments

Is it somehow possible to mount volume subdirs?

there is a statement in the READ.me about this at the volume creation: docker volume create --driver sapk/plugin-gluster --opt voluri="<volumeserver>,<otherserver>,<otheroptionalserver>:<volumename></optional/sub/dir>" --name test

is there also an option to select subdirs of the gluster volume at running the container:

docker run -v test:/mnt --rm -ti ubuntu

e.g.

docker run -v <test>/<subdir>:/mnt --rm -ti ubuntu

lukicsl avatar Jan 25 '19 17:01 lukicsl