3 Star 8 Fork 0

pchaos/Docker-hikyuu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
start.sh 692 Bytes
一键复制 编辑 原始数据 按行查看 历史
pchaos 提交于 2017-07-23 14:24 +08:00 . fix bugs && add ubuntu sohu mirors
#!/bin/bash
docker images |grep hikyuu
# port num
pt=8888
# 当数一非空时,改变buildName
[ $1 ] && buildName=$1
[ ! $buildName ] && buildName="hikyuu:lastest"
echo --------------------------------------------------
echo run jupyter
echo "jupyter notebook --port=$pt --no-browser --ip=0.0.0.0 --allow-root"
echo "from hikyuu.interactive.interactive import * "
echo --------------------------------------------------
set -e
#vpara=" -v $(pwd)/hikyuu:/home/fasiondog/hikyuu -v $(pwd)/archives:/tmp/archives"
vpara=" -v $(pwd)/archives:/tmp/archives"
docker run \
-p $pt:$pt \
-i $vpara \
-t $buildName \
/bin/bash
echo .............................. Bye
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/pchaos/Docker-hikyuu.git
git@gitee.com:pchaos/Docker-hikyuu.git
pchaos
Docker-hikyuu
Docker-hikyuu
master

搜索帮助