better translations

Sorry I don't know much about the word 'save-out', but here are some common translations of docker commands in Chinese:

save: 保存
load: 加载
export: 导出 
import: 导入

It seems that there is a big difference between 'save' and 'export' in Docker, it will be great if you make a detail explanation :P
pull/102/head
Kang Li 2016-09-14 13:37:21 +08:00 committed by GitHub
parent e4e10ead0f
commit dcb2cfe246
1 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
## 存和载镜像
## 存和载镜像
### 存镜像
如果要导出镜像到本地文件,可以使用 `docker save` 命令。
### 存镜像
如果要保存镜像到本地文件,可以使用 `docker save` 命令。
```
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
@ -10,8 +10,8 @@ ubuntu 14.04 c4ff7513909d 5 weeks ago
$sudo docker save -o ubuntu_14.04.tar ubuntu:14.04
```
### 载镜像
可以使用 `docker load` 从导出的本地文件中再导入到本地镜像库,例如
### 载镜像
可以使用 `docker load` 从导出的本地文件中再加载到本地镜像库,例如
```
$ sudo docker load --input ubuntu_14.04.tar
```
@ -19,4 +19,4 @@ $ sudo docker load --input ubuntu_14.04.tar
```
$ sudo docker load < ubuntu_14.04.tar
```
这将导入镜像以及其相关的元数据信息(包括标签等)。
这将加载镜像以及其相关的元数据信息(包括标签等)。