ContextLab / CDL-docker-stacks

Lightweight, customizable, hierarchically built docker images for common neuro/data science applications. Pre-built images available on Docker Hub
https://hub.docker.com/u/contextlab
3 stars 12 forks source link

jupyterhub variant of cdl-jupyter #6

Open paxtonfitzpatrick opened 3 years ago

paxtonfitzpatrick commented 3 years ago

Does anyone actually prefer JupyterHub over Jupyter Notebooks?

On the one hand, while it touts some fancy features, I feel like it isn't ideal for a Docker setup because:

  1. the jupyterhub core package is a lot bigger than the notebook equivalent
  2. it installs various JS packages via both node and yarn which, although their caches can be cleared, I'm not sure how to fully optimize as effectively for image size
  3. a number of its improved features are non-.ipynb file editors or even IDEs, and I'd personally take a notebook container bind-mounted to my local machine where I can just run my own editor/IDE over that any day.

On the other hand, it'd be fairly trivial to implement and wouldn't disrupt any downstream images. I guess it comes down to how expansive vs specific we generally want this repository to be. Would greatly appreciate input.

paxtonfitzpatrick commented 3 years ago

it also looks like jupyterhub installs the entire R math library as a dependency, which takes up 138.3 MB on its own