2017-08-18 08:35:58 +00:00
|
|
|
#!/usr/bin/env bash
|
2017-04-26 13:26:46 +00:00
|
|
|
# 以 shell 方式启动容器,环境如同 Linux 命令行
|
|
|
|
|
|
|
|
cd ..
|
2017-08-18 08:35:58 +00:00
|
|
|
|
|
|
|
## Run docker container, mapping the ssh and vnc ports, then run bash terminal:
|
2017-04-26 13:26:46 +00:00
|
|
|
docker run --name vnpy_bash --rm \
|
|
|
|
-v `pwd`:/srv/vnpy \
|
2017-08-18 08:35:58 +00:00
|
|
|
-p 2222:22 \
|
|
|
|
-it vnpy:latest \
|
|
|
|
/bin/bash
|
2017-04-26 13:26:46 +00:00
|
|
|
|