DeployingΒΆ

  1. Verify that your deployment meets all of the requirements.

  2. Ensure that you have a supported version of Docker installed.

    docker --version
    

    If your version is out of date, follow the instructions for your distribution to install or update.

  3. Verify that the protocol prerequisites are installed and configured on your host. See Host Configuration.

  4. Create a configuration file. The default location is /etc/netappdvp/config.json. Be sure to use the correct options for your storage system.

    # create a location for the config files
    sudo mkdir -p /etc/netappdvp
    
    # create the configuration file, see below for more configuration examples
    cat << EOF > /etc/netappdvp/config.json
    {
        "version": 1,
        "storageDriverName": "ontap-nas",
        "managementLIF": "10.0.0.1",
        "dataLIF": "10.0.0.2",
        "svm": "svm_nfs",
        "username": "vsadmin",
        "password": "secret",
        "aggregate": "aggr1"
    }
    EOF
    
  5. Start Trident using the managed plugin system.

    docker plugin install netapp/trident-plugin:19.10 --alias netapp --grant-all-permissions
    
  6. Begin using Trident to consume storage from the configured system.

    # create a volume named "firstVolume"
    docker volume create -d netapp --name firstVolume
    
    # create a default volume at container instantiation
    docker run --rm -it --volume-driver netapp --volume secondVolume:/my_vol alpine ash
    
    # remove the volume "firstVolume"
    docker volume rm firstVolume