I have a compose file with v3 where there are 3 services sharing/using the same volume. While using swarm mode we need to create extra containers & volumes to manage our
My problem was solved with changing driver option type to NFS4.
volumes: my-nfs-share: driver: local driver_opts: type: "nfs4" o: "addr=172.24.0.107,rw" device: ":/mnt/sharedwordpress"