File tree Expand file tree Collapse file tree 7 files changed +11
-22
lines changed
Expand file tree Collapse file tree 7 files changed +11
-22
lines changed Original file line number Diff line number Diff line change 55 * [ 什么是 Docker] ( introduction/what.md )
66 * [ 为什么要用 Docker] ( introduction/why.md )
77* [ 基本概念] ( basic_concept/README.md )
8- * [ 镜像] ( basic_concept/internal .md )
8+ * [ 镜像] ( basic_concept/image .md )
99 * [ 容器] ( basic_concept/container.md )
1010 * [ 仓库] ( basic_concept/repository.md )
1111* [ 安装] ( install/README.md )
12- * [ Ubuntu] ( install/ubuntu144 .md )
12+ * [ Ubuntu] ( install/ubuntu .md )
1313 * [ CentOS] ( install/centos.md )
1414* [ 镜像] ( image/README.md )
1515 * [ 获取镜像] ( image/pull.md )
Original file line number Diff line number Diff line change 1- ##镜像
1+ ## Docker 镜像
2+ Docker 镜像就是一个只读的模板。
23
4+ 例如:一个镜像可以包含一个完整的 ubuntu 操作系统环境,里面仅安装了 Apache 或用户需要的其它应用程序。
5+
6+ 镜像可以用来创建 Docker 容器。
7+
8+ Docker 提供了一个很简单的机制来创建镜像或者更新现有的镜像,用户甚至可以直接从其他人那里下载一个已经做好的镜像来直接使用。
Load Diff This file was deleted.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Docker 是一个开源项目,诞生于 2013 年初,最初是 dotCloud 公司
55Docker 自开源后受到广泛的关注和讨论,以至于 dotCloud 公司后来都改名为 Docker Inc。Redhat 已经在其 RHEL6.5 中集中支持 Docker;Google 也在其 PaaS 产品中广泛应用。
66
77Docker 项目的目标是实现轻量级的操作系统虚拟化解决方案。
8- Docker 的基础是Linux的容器 (LXC)等技术。
8+ Docker 的基础是 Linux 容器 (LXC)等技术。
99
1010在 LXC 的基础上 Docker 进行了进一步的封装,让用户不需要去关心容器的管理,使得操作更为简便。用户操作 Docker 的容器就像操作一个快速轻量级的虚拟机一样简单。
1111
Original file line number Diff line number Diff line change 44首先,Docker 容器的启动可以在秒级实现,这相比传统的虚拟机方式要快得多。
55其次,Docker 对系统资源的利用率很高,一台主机上可以同时运行数千个 Docker 容器。
66
7- 容器除了运行其中应用外,基本不消耗额外的系统资源,使得应用的性能很高,同时系统的开销尽量小。传统虚拟机方式运行 10 个不同的应用就要起 10 个虚拟机,而Docker 只需要启动10个隔离的应用即可 。
7+ 容器除了运行其中应用外,基本不消耗额外的系统资源,使得应用的性能很高,同时系统的开销尽量小。传统虚拟机方式运行 10 个不同的应用就要起 10 个虚拟机,而Docker 只需要启动 10 个隔离的应用即可 。
88
99具体说来,Docker 在如下几个方面具有较大的优势。
1010
You can’t perform that action at this time.
0 commit comments