forked from philipz/docker_practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request philipz#9 from laneser/master
translate readme, list, pull of image chapter.
- Loading branch information
Showing
4 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
## Docker 容器 | ||
Docker 利用容器來運行應用。 | ||
Docker 利用容器來執行應用。 | ||
|
||
容器是從鏡像創建的運行實例。它可以被啟動、開始、停止、刪除。每個容器都是相互隔離的、保證安全的平台。 | ||
容器是從鏡像創建的執行實例。它可以被啟動、開始、停止、刪除。每個容器都是相互隔離的、保證安全的平台。 | ||
|
||
可以把容器看做是一個簡易版的 Linux 環境(包括root用戶權限、程序空間、用戶空間和網路空間等)和運行在其中的應用程序。 | ||
可以把容器看做是一個簡易版的 Linux 環境(包括root用戶權限、程序空間、用戶空間和網路空間等)和在其中執行的應用程序。 | ||
|
||
*註:鏡像是唯讀的,容器在啟動的時候創建一層可寫層作為最上層。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Docker 镜像 | ||
# Docker 鏡像 | ||
|
||
在之前的介绍中,我们知道镜像是 Docker 的三大组件之一。 | ||
在之前的介紹中,我們知道鏡像是 Docker 的三大組件之一。 | ||
|
||
Docker 运行容器前需要本地存在对应的镜像,如果镜像不存在本地,Docker 会从镜像仓库下载(默认是 Docker Hub 公共注册服务器中的仓库)。 | ||
Docker 在執行容器前需要本地存在對應的鏡像,如果鏡像不存在本地,Docker 會從鏡像倉庫下載(預設是 Docker Hub 公共註冊服務器中的倉庫)。 | ||
|
||
本章将介绍更多关于镜像的内容,包括: | ||
* 从仓库获取镜像; | ||
* 管理本地主机上的镜像; | ||
* 介绍镜像实现的基本原理。 | ||
本章將介紹更多關於鏡像的內容,包括: | ||
* 從倉庫獲取鏡像; | ||
* 管理本地主機上的鏡像; | ||
* 介紹鏡像實現的基本原理。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters