Prophecis icon indicating copy to clipboard operation
Prophecis copied to clipboard

自身创建notebook镜像

Open GodfreyGuo opened this issue 2 years ago • 0 comments

可自身创建notebook运行镜像: 1.Dockerfile:

其他的镜像类似

docker pull jupyter/scipy-notebook:notebook-6.4.10

FROM jupyter/scipy-notebook:notebook-6.4.10 USER root RUN echo "Asia/shanghai" > /etc/timezone ENTRYPOINT ["sh","-c", "jupyter lab --notebook-dir=/home/jovyan --ip=0.0.0.0 --no-browser --allow-root --port=8888 --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.allow_origin='*' --NotebookApp.base_url=${NB_PREFIX}"]

2.编译:

编译成自身tag

docker build -t "xxxx/jupyter/scipy-notebook:notebook-6.4.10" .

GodfreyGuo avatar Apr 19 '22 09:04 GodfreyGuo