Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Use driver_opts instead of volume name #6

Closed
niieani opened this issue May 2, 2016 · 1 comment
Closed

Use driver_opts instead of volume name #6

niieani opened this issue May 2, 2016 · 1 comment

Comments

@niieani
Copy link

niieani commented May 2, 2016

The driver doesn't work with docker-compose, because there is no way to create a named volume with a # in it. Instead of this hacky workaround it would be best to use the native options, e.g. like this:

docker volume create -d sshfs -o host=1.2.3.4 -o port=22 -o mountpoint=/data --name=awesome-volume

As an example, see: https://github.com/CWSpear/local-persist

@vieux
Copy link
Owner

vieux commented Aug 2, 2016

@niieani I updated the plugins recently, thanks.

@vieux vieux closed this as completed Aug 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants