First Tests:

Install RancherOS, as it only contains the bare minimum,you'll need to start docker compose with a separate container but first browse to /tmp and create a docker-compose.yaml file with the following content

version: '2'
      type: "nfs"
      o: "addr=nas.zwck.lan,nolock,soft,rw"
      device: ":/mnt/volume01/data"

Docker-compose up with:

docker run -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock -w /tmp docker/compose:1.24.0 up -d

This creates a tmp:nfs-data volume that can be used as volumes in other containers.

Display the volume properties and check:

docker volume inspect tmp_nfs-data
        "CreatedAt": "2019-04-07T15:45:18Z",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/tmp_nfs-data/_data",
        "Name": "tmp_nfs-data",
        "Options": {
            "device": ":/mnt/volume01/data",
            "o": "addr=nas.zwck.lan,rw",
            "type": "nfs"
        "Scope": "local"

and inspect:

docker volume inspect --format '{{ .Mountpoint }}' tmp_nfs-data

and give it a try with ghost

docker run -d -v tmp_nfs-data:/mnt/data --name ghost -p 3001:2368 ghost


docker exec -it ghost bash
cd /mnt/example-mnt