2023-12-26 23:49:41 +08:00
2023-12-26 23:49:41 +08:00
2023-12-26 18:29:11 +08:00
2023-12-26 18:29:11 +08:00
2023-12-26 21:51:13 +08:00
2023-12-26 23:42:20 +08:00
2023-12-26 18:29:11 +08:00
2023-12-26 18:29:11 +08:00
2023-12-26 18:29:11 +08:00
2023-12-26 18:29:11 +08:00
2023-12-26 18:29:11 +08:00

docker-jupyterhub

Getting started

main reference

构建自己的docker镜像

修改自己想要的python环境在文件Dockerfile.jupyterhub

基础镜像是:jupyter/scipy-notebook 里面含有conda

docker buildx build -t hotwa/jupyterhub:latest . -f Dockerfile.jupyterhub --load

修改docker-compose.yml文件环境变量DOCKER_NOTEBOOK_IMAGE

DOCKER_NOTEBOOK_IMAGE: hotwa/jupyterhub:latest

也可以通过 docker-compose 构建镜像

docker compose build

启动docker-compose.yml

docker compose up -d

停止

docker compose down

基本镜像

https://github.com/jupyter/docker-stacks/tree/main/images

jupyter-gpu

构建自己的基础镜像:

git clone https://github.com/jupyter/docker-stacks
cd docker-stacks/images/base-notebook
# 修改这个目录下面的 Dockerfile文件, 在后面加就行里面已经有了mamba、conda
docker buildx build -t hotwa/notebook:latest . -f Dockerfile

Alternatives

Description
No description provided
Readme 141 KiB
Languages
Shell 44%
Python 27.5%
Gnuplot 14.6%
Dockerfile 13.9%