Customer wants to read / write files on host OS or NAS shared folder from TERR/Python/R data functions when TERR/Python/R service is configured to use container for engine process.
So to do this we need to add more bind mounts to the container.
aka equivilent capability to the --volume option
https://docs.docker.com/engine/storage/bind-mounts/
docker run -v <host-path>:<container-path>[:opts]
Currently I suggest them to use below bind mount to achive this but it's not a very appropriate way.
{
"Type": "bind",
"Source": "/opt/spotfire/nodemanager/14.0.6/nm/logs",
"Destination": "/logs",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
Hi Wei,
I assume you are using the Python/R/TERR services deployed with VMs, and not using the Spotfire Cloud Deployment Kit, right?
We have published examples of how to do that using the Spotfire Cloud Deployment Kit. For example: https://github.com/spotfiresoftware/spotfire-cloud-deployment-kit/tree/main/helm/charts/spotfire-pythonservice
Is that what you want to achieve?