Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (27 loc) · 1.36 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.36 KB

version Docker Automated Build Jupyter Docker Build version

Run

# GET FILE
## AliYun: registry.cn-hangzhou.aliyuncs.com/xrsec/jupyter:latest
docker run -it -d --name jupyter --rm xrsec/jupyter:latest
docker cp jupyter:/root/notebook /docker/jupyter
docker stop jupyter

# RUN

docker run -it -d \
  --restart=always \
  --name jupyter \
  -v "/docker/jupyter:/root/notebook" \
  -p 8888:8888 \
  xrsec/jupyter

# Get Tocken
docker logs jupyter
# Ather Setting
## jupyter => new => terminals
cp /root/.jupyter/jupyter_notebook_config.py /root/notebook/jupyter_notebook_config.py
## Edit & Save
cp -rf /root/notebook/jupyter_notebook_config.py /root/.jupyter/jupyter_notebook_config.py