(Solved) Docker volume not mount with dragonfish

hi there

updated today to dragonfish. everything works fine, but my docker volumes cannot connect to the nfs anymore.

mount -t nfs /mnt/test/

this works…

but if i create an docker volume:

docker volume create \
  --driver local \
  --opt type=nfs \
  --opt o=addr=,nolock,soft,rw \
  --opt device=:/mnt/zfspool/test \

and try to start my container this error occurs:

docker: Error response from daemon: error while mounting volume '/var/lib/docker/volumes/test/_data': failed to mount local volume: mount :/mnt/zfspool/test:/var/lib/docker/volumes/test/_data, data: addr=,nolock,soft: connection refused.

this was working before the update.

do you have an idea whats the problem is?

Can i boot the older version of truenas to test?

thanks a lot


The trick is to give the nfs version by the command line:

--opt o=addr=,nolock,soft,rw,**nfsvers=4.x**