neurodocker icon indicating copy to clipboard operation
neurodocker copied to clipboard

Request: Jupyter/JupyterLab

Open effigies opened this issue 7 years ago • 4 comments

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 avatar Mar 08 '18 20:03 effigies

@effigies - can you elaborate? Would this only be if a user installs jupyter?

kaczmarj avatar Mar 16 '18 13:03 kaczmarj

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 avatar Apr 18 '18 20:04 effigies

@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

kaczmarj avatar Apr 18 '18 20:04 kaczmarj

Agree Jupiter would be very useful!

jona-sassenhagen avatar Apr 27 '18 11:04 jona-sassenhagen