mirror of
				https://github.com/yeasy/docker_practice.git
				synced 2025-10-30 18:02:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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 | ||||
| ``` | ||||
| 这将导入镜像以及其相关的元数据信息(包括标签等)。 | ||||
| 这将加载镜像以及其相关的元数据信息(包括标签等)。 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user