You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker plugin install yzlin/nfs src=10.0.0.7:/mnt/data/docker
Plugin "yzlin/nfs" is requesting the following privileges:
- network: [host]
- capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y
latest: Pulling from yzlin/nfs
03f6df412c13: Download complete
Digest: sha256:d2d423796ef6acc82b7d840faeb69cc125b1a9362110a401e937ec64c8aed5a0
Status: Downloaded newer image for yzlin/nfs:latest
Error response from daemon: setting "src" not found in the plugin configuration
Yeah I realize that; I'd love to support this approach too:
docker plugin install yzlin/nfs src=user@host:/path/to/nfs
docker volume create -d yzlin/nfs name_of_volume
This should create "name_of_volume" at user@host:/path/to/nfs
If an anonymous volume is usd I'd expect user@host:/path/to/nfs to
have directories full of anonymous volume names.
cheers
James
James Mills / prologic
E: [email protected]
W: prologic.shortcircuit.net.au
On Fri, Jun 30, 2017 at 3:09 AM, Yi-Jheng Lin ***@***.***> wrote:
The src option is for volume create. It means you can install the plugin
once, and create multiple nfs volumes with different NFS src.
docker plugin install yzlin/nfs
docker volume create -d yzlin/nfs -o ***@***.***:/path/to/nfs nfsvol
I haven't try it on docker stack. Not sure if it's working.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOv-p7pyF7Ovd0v7EYRgaRw41x23ARVks5sJMlPgaJpZM4OHjtW>
.
Is this something we can do; e.g:
And then we can do things like:
Or use
volume:driver: ...
in Stackfiles (docker stack deploy
)?The text was updated successfully, but these errors were encountered: