Do you would like to use Linux system as docker host and you want to have storage exposed by NAS for this docker host ?
If that is the intent of your question, yes it can be done.
Expose nas storage over nfs. Mount the nfs in Linux. Refer the mount point directory as docker storage in docker-compose file. That’s it. No big fuss. You can even soft link /var/docker directory to your nfs share, if required.
Do you would like to use Linux system as docker host and you want to have storage exposed by NAS for this docker host ?
If that is the intent of your question, yes it can be done.
Expose nas storage over nfs. Mount the nfs in Linux. Refer the mount point directory as docker storage in docker-compose file. That’s it. No big fuss. You can even soft link /var/docker directory to your nfs share, if required.