Overview

Full name
docker.io/jupyter/base-notebook
Registry
docker.io
Namespace
jupyter
Repository
base-notebook
Cached tags
1907
Last synced
07/05/2026, 06:20 AM

Introduction

Jupyter 官方基础 Notebook 镜像,预装 Python 与 JupyterLab,数据科学交互式分析与机器学习实验默认起点镜像。

Details

jupyter/base-notebook 是 Jupyter Docker Stacks 系列的基础层,提供 JupyterLab/Notebook 服务器与 conda/pip Python 环境。定位为数据科学 Notebook 运行时,挂载工作目录持久化 notebook;教学实验、EDA 探索或 ML 原型开发,可叠加 scipy/pytorch 等衍生镜像。

快速启动

docker run -d --name jupyter \
  -p 8888:8888 \
  -v $(pwd):/home/jovyan/work \
  docker.io/jupyter/base-notebook:latest

推荐实践

docker run -d --name jupyter \
  --restart unless-stopped \
  -p 8888:8888 \
  -e JUPYTER_TOKEN=changeme \
  -v /data/notebooks:/home/jovyan/work \
  docker.io/jupyter/base-notebook:python-3.12

核心参数说明

  • -p 8888:8888 — JupyterLab Web 端口
  • JUPYTER_TOKEN — 访问令牌(高敏
  • -v .../work:... — notebook 工作区
  • 用户 — 默认 jovyan 非 root

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: jupyter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: jupyter
  template:
    metadata:
      labels:
        app: jupyter
    spec:
      containers:
        - name: jupyter
          image: docker.io/jupyter/base-notebook:python-3.12
          ports:
            - containerPort: 8888
          envFrom:
            - secretRef:
                name: jupyter-token
          volumeMounts:
            - name: work
              mountPath: /home/jovyan/work
      volumes:
        - name: work
          persistentVolumeClaim:
            claimName: jupyter-work
---
apiVersion: v1
kind: Service
metadata:
  name: jupyter
spec:
  selector:
    app: jupyter
  ports:
    - port: 8888
      targetPort: 8888

Ingress 限内网;PVC 持久化 notebook。

Latest tags (20)

View all 1907 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/jupyter/base-notebook
:x86_64-ubuntu-22.04
linux/amd64
2023/10/21 04:01297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-python-3.11.6
linux/amd64
2023/10/21 04:01297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-python-3.11
linux/amd64
2023/10/21 04:01297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-notebook-7.0.6
linux/amd64
2023/10/21 04:01297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-latest
linux/amd64
2023/10/21 04:01297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-lab-4.0.7
linux/amd64
2023/10/21 04:00297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-hub-4.0.2
linux/amd64
2023/10/21 04:00297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-7cce21edff82
linux/amd64
2023/10/21 04:00297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:x86_64-2023-10-20
linux/amd64
2023/10/21 04:00297.0 MBsha256:2d799fdfda89
docker.io/jupyter/base-notebook
:hub-4.0.2
linux/arm64/v8linux/amd64
2023/10/20 12:02265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:notebook-7.0.6
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:2023-10-20
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:848a82674792
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:python-3.11
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:python-3.11.6
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:lab-4.0.7
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:latest
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:ubuntu-22.04
linux/arm64/v8linux/amd64
2023/10/20 12:01265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:aarch64-ubuntu-22.04
linux/arm64/v8
2023/10/20 11:54265.9 MBsha256:6e3a6cfad92a
docker.io/jupyter/base-notebook
:aarch64-python-3.11.6
linux/arm64/v8
2023/10/20 11:54265.9 MBsha256:6e3a6cfad92a