NetApp / netappdvp

A Docker volume plugin for NetApp storage
96 stars 33 forks source link

(Docs) Example for specifying the config option with the file name #95

Closed scaleoutsean closed 7 years ago

scaleoutsean commented 7 years ago

From the doc "Installing the Managed Plugin" Create a configuration file. The config file must be located in the /etc/netappdvp directory. The default filename is config.json, however you can use any name you choose by specifying the config option with the file name.

Can someone clarify how this config option with the file name is set and where? It's unclear from the context.

ntap-rippy commented 7 years ago

We'll need to update the doc, but until we can do that, hopefully this will help.

$ docker plugin install --help Usage: docker plugin install [OPTIONS] PLUGIN [KEY=VALUE...]

$ docker plugin install --grant-all-permissions --alias netapp netapp/ndvp-plugin:17.07 config=myOtherConfig.json

Relevant implementation snippet in container-launch.sh

Can 'plugin set' it too: $ docker plugin set --help Usage: docker plugin set PLUGIN KEY=VALUE [KEY=VALUE...]