Skip to content
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

mounting sub dirs #56

Open
lukicsl opened this issue Jan 25, 2019 · 0 comments
Open

mounting sub dirs #56

lukicsl opened this issue Jan 25, 2019 · 0 comments

Comments

@lukicsl
Copy link

lukicsl commented Jan 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant