docker-volume-gluster
docker-volume-gluster copied to clipboard
mounting sub dirs
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