I am mounting my NFSv4 shares in my homelab like this:
driver_opts:
type: nfs
o: addr=192.168.2.13,nfsvers=4
device: :/volume1/Cloud/Seafile/DATA
Yaml is basicly a key/value map. A key declared more than once will either lead to a duplicate key error or one of the declaration will be used. You can not have more than one o:
key.