修改docker使用说明

双语同步修改
This commit is contained in:
tardis07
2020-05-10 00:39:58 +08:00
parent bf1fb2e5c9
commit c8a8cd3f0f
2 changed files with 4 additions and 21 deletions
+3 -11
View File
@@ -111,19 +111,11 @@ pip 19.2.2 from C:\Users\shmilylty\AppData\Roaming\Python\Python37\site-packages
**✔Installation steps (Docker version)**
Method 1: directly pull the deployed image (not updated in time)
```shell
docker pull tardis07/oneforall
docker run -it oneforall
```
Method 2: build from `Dockerfile` (same as git version)
```shell
docker build -t oneforall .
docker run -it oneforall
docker pull shmilylty/oneforall
docker run -it --rm -v ~/results:/OneForAll/results oneforall
```
output will be saved in`~/results`
**✨Demonstration**
+1 -10
View File
@@ -110,17 +110,8 @@ pip 19.2.2 from C:\Users\shmilylty\AppData\Roaming\Python\Python38\site-packages
**✔安装步骤(docker 版)**
方法一:直接拉取部署好的镜像(更新不及时)
```shell
docker pull tardis07/oneforall
docker run -it oneforall
```
方法二:从 `Dockerfile` 中构建(同git版)
```shell
docker build -t oneforall .
docker pull shmilylty/oneforall
docker run -it --rm -v ~/results:/OneForAll/results oneforall
```
结果会输出在本地目录`~/results`