Sign inSign up

amalic/jupyterlab

By amalic

•Updated almost 6 years ago

Hassle-free dark themed Jupyterlab v1.2.6 image running as root user

Image
10

10K+

amalic/jupyterlab repository overview

License: MIT Docker Cloud Build Status Docker Pulls

⁠Jupyterlab Docker container

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.

⁠Installed Jupyterlab extensions
⁠Your notebooks

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.


⁠Pull/Update to latest version
docker pull amalic/jupyterlab:latest
⁠Run
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

The container will install requirements from files present at the root of the repository at docker run (in this order):

  • packages.txt: install apt-get packages
  • requirements.txt: install pip packages
  • extensions.txt: install Jupyterlab extensions
⁠Run from Git repository

You can provide a Git repository to be cloned 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" amalic/jupyterlab:latest

Access on http://localhost:8888⁠ and files shared in /data/jupyterlab-notebooks

or use the current directory as source code in the container:

docker run --rm -it -p 8888:8888 -v $(pwd):/notebooks -e PASSWORD="<your_secret>" amalic/jupyterlab:latest

Use ${pwd} for Windows

⁠Build from source
docker build -t amalic/jupyterlab .

Tag summary

Content type

Image

Digest

Size

1.3 GB

Last updated

over 6 years ago

docker pull amalic/jupyterlab