To share notebooks between users with a shared directory (/shared):
- Create /app/data/shared directory and make it accessible by all users. Open a JupyterHub Web Terminal.
mkdir /app/data/shared
chmod 0777 /app/data/shared
- Then, edit /app/data/customconfig.py , add the configuration:
c.DockerSpawner.volumes['/app/data/shared'] = '/home/jovyan/shared'
- Remove existing user notebook workspaces by running /app/code/remove_notebook_containers.py in JupyterHub's Web Terminal.
- Restart the app