Skip to content

Default NFS export/mount for plugin? #2

Open
@prologic

Description

@prologic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions