NetApp / netappdvp

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

Export policy for ontap-nas storage driver #75

Closed franc01s closed 7 years ago

franc01s commented 7 years ago

Is there a way to configure which export policy I want to use in case of nas storage driver ? I remarked that "default" is used and I have to add docker host to it for it works. Any help appreciated.

adkerr commented 7 years ago

I believe you can set it in the config.json file using

"exportPolicy": "<name>"

Or during the container launch with

-o exportPolicy=<name>

franc01s commented 7 years ago

It works by setting -o exportPolicy during volume creation process docker volume create -d store/netapp/ndvp-plugin:1.4.0 --name=test -o size=10g -o exportPolicy=docker

Thanks a lot