yzlin / docker-volume-nfs Goto Github PK
View Code? Open in Web Editor NEWNFS v3/4 plugin for Docker
License: Apache License 2.0
NFS v3/4 plugin for Docker
License: Apache License 2.0
Is this something we can do; e.g:
$ 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
And then we can do things like:
docker volume create --volume-driver yzlin/nfs some_named_volume
Or use volume:driver: ...
in Stackfiles (docker stack deploy
)?
Trying out your NFS Plugin (Thank you!) and getting a error accessing the mount:
prologic@Jamess-MacBook
Mon Jun 26 02:18:25
~
0
$ docker run -it --rm -v nfsvol:/data alpine ls /data
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/99d42664568c794415d590b9b4f9dc468ac951c433c90bdeb85450640bb322e7/rootfs/mnt/fs/nfsvol': VolumeDriver.Mount: exit status 32.
ERRO[0000] error getting events from daemon: context canceled
prologic@Jamess-MacBook
Mon Jun 26 02:18:42
~
125
$ docker run -it --rm --volume-driver yzlin/nfs -v nfsvol:/data alpine ls /data
docker: Error response from daemon: error while mounting volume '/var/lib/docker/plugins/99d42664568c794415d590b9b4f9dc468ac951c433c90bdeb85450640bb322e7/rootfs': VolumeDriver.Mount: exit status 32.
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.