Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自身创建notebook镜像 #62

Open
GodfreyGuo opened this issue Apr 19, 2022 · 0 comments
Open

自身创建notebook镜像 #62

GodfreyGuo opened this issue Apr 19, 2022 · 0 comments

Comments

@GodfreyGuo
Copy link

可自身创建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" .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant