Accessing mounted volumes in jupyter notebooks
-
I have been attempting to provide access to a cloudron volume to users working with jupyterhub.
I have been able to mount the volume to the jupyterhub parent container through the cloudron web interface, and can access it from the web debugging terminal under
/media/
as expected.However, the volume is not accessible in the spawned jupyterlab instances, either under
/media/
or/home/jovyan/
(the default home directory in spawned jupyterlab containers).Digging through some of the code that is generated at run-time to spawn jupyterlab containers (such as
/run/jupyterhub/config
), I do not see any mention of mounting the directories under/media/
to the child containers.I imagine the parent container (the jupyterhub server that cloudron directly manages) will need to mount the shared volume to the jupyterlab containers it spawns. However I am not sure how to accomplish this.
I appreciate any thoughts/guidance cloudron users and staff might have - thank you!
-
Is there already a solution here?