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 dir. In the dataset dir are a lot of csv files.
docker run -v /home/user/datasets:/data -t jupyterhub /bin/bash
How do I mount the data dir correctly?