Prophecis
Prophecis copied to clipboard
自身创建notebook镜像
可自身创建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" .