Unverified Commit b3683cbb authored by Yang Li's avatar Yang Li Committed by GitHub

docs: update docker command example in README

parent 25b6bd53
...@@ -96,7 +96,7 @@ curl https://raw.githubusercontent.com/pjialin/py12306/master/env.docker.py.exam ...@@ -96,7 +96,7 @@ curl https://raw.githubusercontent.com/pjialin/py12306/master/env.docker.py.exam
**2. 修改好配置后运行** **2. 修改好配置后运行**
```bash ```bash
docker run -d -v $(pwd):/config -v py12306:/data pjialin/py12306 docker run --rm --name py12306 -p 8008:8008 -d -v $(pwd):/config -v py12306:/data pjialin/py12306
``` ```
当前目录会多一个 12306.log 的日志文件, `tail -f 12306.log` 当前目录会多一个 12306.log 的日志文件, `tail -f 12306.log`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment