Sign inSign up

m400/jupyterlab

By m400

•Updated over 1 year ago

Jupyterlab v4.3.5

Image
Machine learning & AI
Developer tools
Data science
1

1.2K

m400/jupyterlab repository overview

Docker Automated build Docker Image Size (latest by date) Docker Pulls

⁠Jupyter Notebook Docker Image - linux/AMD64

The container image is intended for a single user on a private network.

The container image uses ubuntu base image with latest versions of miniconda3 and jupyterlab. See https://jupyterlab.readthedocs.io/en/stable/⁠

The container image has a preconfigured changeable password (admin) and a ssl certificate that is generated on build. The password can easily be changed after starting the container and ssl can be disabled by adding empty environmental variable -e CERT=

*Additional python packages can be installed with the conda command in the jupyterlab terminal.

VOLUME /notebooks            Volume is default folder required for saved work to persist (.ipynb files etc..)
VOLUME /root/miniconda3/pkgs Volume required to save user installed conda packages
VOLUME /root/miniconda3/lib  Volume required to save user installed conda packages.
VOLUME /root/.jupyter        Volume required to change password and save.

⁠Docker run command for HTTPS

docker run -d -p 8888:8888 --name jupyter -v notebooks1:/notebooks -v config:/root/.jupyter -v lib1:/root/miniconda3/lib -v pkgs1:/root/miniconda3/pkgs m400/jupyterlab

Point web browser to https://127.0.0.1:8888 or https://your_IP:8888 Default password admin

Typing https:// is requried.

⁠Default password = admin

⁠Docker run command for HTTP

docker run -d -p 8888:8888 --name jupyter -e CERT= -v notebooks1:/notebooks -v config:/root/.jupyter -v lib1:/root/miniconda3/lib -v pkgs1:/root/miniconda3/pkgs m400/jupyterlab

Point web browser to http://127.0.0.1:8888 or http://your_IP:8888 Default password admin

Typing http:// is required

⁠Default password = admin
⁠To change default password

docker exec -it <ContainerName> bash

(base) root@4c3a707e0f87:/# jupyter server password
Enter password: 
Verify password: 
[JupyterPasswordApp] Wrote hashed password to /root/.jupyter/jupyter_server_config.json
(base) root@4c3a707e0f87:/# exit

docker restart <ContainerName If you logged in with default password. Restart Web browser before logging in again.

⁠Docker-compose.yml
version: '3.7'
services:
  application:
    image: m400/jupyterlab
    
    environment:                 #Comment out to enable HTTP
    - CERT=                      #Comment out to enable HTTP
    ports:
    - 8888:8888
    volumes:
    - notebooks1:/notebooks
    - config:/root/.jupyter
    - pkgs1:/root/miniconda3/pkg
    - lib1:/root/miniconda3/lib

    restart: unless-stopped
volumes:
  notebooks1:
  config:
  pkgs1:
  lib1:

Tag summary

Content type

Image

Digest

sha256:75737151c…

Size

288.6 MB

Last updated

over 1 year ago

docker pull m400/jupyterlab