I build and run jupyterhub a docker image. https://hub.docker.com/r/joergklein/jupyterhub
Is it a good idea to mount in the Dockerfile
# Create a mountpoint
VOLUME /data
or is it better to mount to
# Create a mountpoint
VOLUME /home/data
I have a local data dir on my computer. I will mount the data dir into the container /data or /home/data.
At first I download and install the image
docker run -p 8000:8000 -d --name jupyterhub joergklein/jupyterhub jupyterhub
Second I will mount the datasets dir. into the /data in the container. In the dataset dir are a lot of csv files.
docker run -v /home/user/datasets:/data -t jupyterhub /bin/bash
I want run the JupyterHub in a sub domain in a team.
- We want share the data. How can all team member work in this directory?
- How we can add new data in this directory?
- Which is the right docker run commnd?