官网参考Jupyter Docker Stacks — Docker Stacks documentation (jupyter-docker-stacks.readthedocs.io)
jupyter docker
https://jupyter-docker-stacks.readthedocs.io/en/latest/
docker run -p 10000:8888 jupyter/scipy-notebook:6b49f3337709
http://10.183.67.175:10000/?token=840d9ae3c76cabf9e2ce6787d77199bbd5cc401da8894415
// 重新启动docker 挂载目录
docker ps
[pechen@xxx-b3dev-rhel7 ju]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES gnb_cn1-bash_run_c11b2d9c7253
b79658042b0c jupyter/scipy-notebook:6b49f3337709 "tini -g -- start-no…" 16 hours ago Up 16 hours (healthy) 0.0.0.0:10000->8888/tcp, :::10000->8888/tcp brave_gauss gnb_cn1-bash_run_2e8ee08315f8
docker stop b79658042b0c
docker run -it --rm -p 10000:8888 -v "${PWD}":/home/jovyan/work jupyter/scipy-notebook:6b49f3337709
import pandas
df = pandas.read_csv('work/simulation.csv')
line1 = df.head(1)
y = line1.values[0]
import matplotlib.pyplot as plt
#import numpy as np
#t = np.arange(0, , 1)
plt.plot(y)
plt.ylabel('some numbers')
plt.show()



