This Docker container runs as root user! It can be helpful when e.g. the popular jupyter/datascience-notebook image does not work because it runs as Jovyan user.
Volumes can be mounted into /notebooks folder. If the folder contains a requirements.txt file, it will be installed automatically when the container starts up.
docker pull amalic/jupyterlab:latest
docker run --rm -it -p 8888:8888 amalic/jupyterlab
or if you want to define your own password
docker run --rm -it -p 8888:8888 -e PASSWORD="<your_secret>" amalic/jupyterlab
or provide a Git repository to clone in /notebooks when doing docker run
docker run --rm -it -p 8888:8888 -v /data/jupyterlab-notebooks:/notebooks -e PASSWORD="<your_secret>" -e GIT_URL="https://github.com/vemonet/translator-sparql-notebook" umids/jupyterlab:latest
Access on http://localhost:8888 and files shared in
/data/jupyterlab-notebooks
If the Git repository contains a requirements.txt or jupyter_install.sh at its root, they will be executed at runtime.
The
jupyter_install.shscript allows to install Jupyter extensions, such as new kernels, at runtime using Bash. e.g.jupyter sparqlkernel install --user
docker build -t amalic/jupyterlab .
Content type
Image
Digest
Size
1.5 GB
Last updated
over 6 years ago
docker pull umids/jupyterlab