mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
修改docker使用说明
双语同步修改
This commit is contained in:
+3
-11
@@ -111,19 +111,11 @@ pip 19.2.2 from C:\Users\shmilylty\AppData\Roaming\Python\Python37\site-packages
|
|||||||
|
|
||||||
**✔Installation steps (Docker version)**
|
**✔Installation steps (Docker version)**
|
||||||
|
|
||||||
Method 1: directly pull the deployed image (not updated in time)
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker pull tardis07/oneforall
|
docker pull shmilylty/oneforall
|
||||||
docker run -it oneforall
|
docker run -it --rm -v ~/results:/OneForAll/results oneforall
|
||||||
```
|
|
||||||
|
|
||||||
Method 2: build from `Dockerfile` (same as git version)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
docker build -t oneforall .
|
|
||||||
docker run -it oneforall
|
|
||||||
```
|
```
|
||||||
|
output will be saved in`~/results`
|
||||||
|
|
||||||
**✨Demonstration**
|
**✨Demonstration**
|
||||||
|
|
||||||
|
|||||||
@@ -110,17 +110,8 @@ pip 19.2.2 from C:\Users\shmilylty\AppData\Roaming\Python\Python38\site-packages
|
|||||||
|
|
||||||
**✔安装步骤(docker 版)**
|
**✔安装步骤(docker 版)**
|
||||||
|
|
||||||
方法一:直接拉取部署好的镜像(更新不及时)
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker pull tardis07/oneforall
|
docker pull shmilylty/oneforall
|
||||||
docker run -it oneforall
|
|
||||||
```
|
|
||||||
|
|
||||||
方法二:从 `Dockerfile` 中构建(同git版)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
docker build -t oneforall .
|
|
||||||
docker run -it --rm -v ~/results:/OneForAll/results oneforall
|
docker run -it --rm -v ~/results:/OneForAll/results oneforall
|
||||||
```
|
```
|
||||||
结果会输出在本地目录`~/results`
|
结果会输出在本地目录`~/results`
|
||||||
|
|||||||
Reference in New Issue
Block a user