Do I need to mount the volume in the Docker container first?
Yes.
As explained in post #2843 (I answered there before getting to the current post):
In a few bullet points:
- Create and configure your NFS share
- Mount it in your docker host, typically at
/mnt/nfs1
- Add this volume to Cells container volume list, e.g:
volumes:
- cells_working_dir:/var/cells
- cells_logs:/var/cells/logs
- /mnt/nfs1:/data
- Launch your docker setup and configure Cells
- Create a new datasource that points toward
/data/dss/datasource1
For the record the dss
folder level (not its name) is compulsory for the datasource to be correctly configured.
If you want to define more than one data source at this location, it is better to have also the second level, so that you can easily configure it at /data/dss/datasource2
Please refer to our admin doc if you want / need deeper understanding of the what and why.