Request: Jupyter/JupyterLab
Having Neurodocker do the work of properly setting up and configuring JupyterLab would be pretty handy in terms of getting an interactive sandbox going as quickly as possible. I think it fits into the existing structure (/work working directory, neuro user) pretty naturally, but a default configuration (and, optionally, setting the ENTRYPOINT) would make things that much smoother.
@effigies - can you elaborate? Would this only be if a user installs jupyter?
Ah, sorry for the slow response. I was thinking of something like a --jupyter flag, that would install a small battery of common packages and set the entrypoint. For example, I've written a patch Dockerfile that throws the following on top of a base image:
RUN conda install -y -q --name neuro jupyter \
jupyterlab \
jupyter_contrib_nbextensions \
nbformat \
&& sync && conda clean -tipsy && sync
ENTRYPOINT ["/neurodocker/startup.sh", "jupyter-lab", "--ip=0.0.0.0"]
Anyway, just a thing to consider. Not a must-have feature or anything.
@effigies - thanks for the concrete example. this seems like a good idea as jupyter is a common use case of these containers. i'll try to add this soon
Agree Jupiter would be very useful!