Coder Social home page Coder Social logo

docker-volume-nfs's People

Contributors

yzlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-volume-nfs's Issues

Default NFS export/mount for plugin?

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)?

exit status 32

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.