Источники

Установка средствами Docker-compose

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
---
version: "3"
services:

  jupyterlab-scipy:
    image: jupyter/scipy-notebook:latest
    container_name: jupyterlab-scipy
    user: "1024"
    group_add:
      - users
    environment:
      - NB_UID=1024
      - NB_GID=1024
      - JUPYTER_ENABLE_LAB=yes
      - TZ=Europe/Moscow
    volumes:
      - /home/quasinas/vs_code_workspace:/home/jovyan/work/vs_code
    ports:
      - 8888:8888
    restart: unless-stopped
1
2
docker compose pull
docker compose up -d

CLI Установка

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
docker run -d \
  --name="jupyterlab-scipy"  \
  -e JUPYTER_ENABLE_LAB=yes \
  -p 8888:8888 \
  -e NB_UID=1024 \
  -e NB_GID=1024 \
  --user 1024 --group-add users \
  -v /home/quasinas/vs_code_workspace:/home/jovyan/work/vs_code \
  -e TZ=Europe/Moscow \
  --restart unless-stopped \
jupyter/scipy-notebook:latest

Удаление

1
2
3
docker stop jupyterlab-scipy ;\
docker rm jupyterlab-scipy ;\
docker rmi jupyter/scipy-notebook