2016-08-06 12:40:53 +08:00
|
|
|
|
# Docker — 从入门到实践
|
2016-11-25 22:19:47 +08:00
|
|
|
|
|
2019-11-06 14:22:02 +08:00
|
|
|
|
[![](https://img.shields.io/github/stars/yeasy/docker_practice.svg?style=social&label=Stars)](https://github.com/yeasy/docker_practice) [![](https://travis-ci.org/yeasy/docker_practice.svg?branch=master)](https://travis-ci.org/yeasy/docker_practice) [![](https://img.shields.io/github/release/yeasy/docker_practice/all.svg)](https://github.com/yeasy/docker_practice/releases) [![](https://img.shields.io/badge/Based-Docker%20CE%20v19.x-blue.svg)](https://github.com/docker/docker-ce) [![](https://img.shields.io/badge/Docker%20%E6%8A%80%E6%9C%AF%E5%85%A5%E9%97%A8%E4%B8%8E%E5%AE%9E%E6%88%98-jd.com-red.svg)](https://union-click.jd.com/jdc?e=&p=AyIGZRtYFAcXBFIZWR0yEgRQH1kXAhs3EUQDS10iXhBeGlcJDBkNXg9JHU4YDk5ER1xOGRNLGEEcVV8BXURFUFdfC0RVU1JRUy1OVxUBFwNXGVscMlVYLlAaXAV1Z1JHA0dWEHVXZTliY1QLWStaJQAWB10fXhwKEDdlG1wlUHzf462DsLMO0%2F%2BUjp2VIgZlG18RBBcCUBlbEAoTBWUcWxwySVI7HAhBBxEOBUgOFQYQUGUraxYyIjdVK1glQHxXUEhYEVEUUFQcC0IHGgRRSAgVARAPAhsLFgNCDl0ZWiUAEwZREg%3D%3D&t=W1dCFFlQCxxKQgFHREkdSVJKSQVJHFRXFk9FUlpGQUpLCVBaTFhbXQtWVmpSWRtYEAYQBVUS)
|
2017-11-23 21:26:55 +08:00
|
|
|
|
|
2020-02-01 10:24:29 +08:00
|
|
|
|
**v1.2.0**
|
2014-09-05 16:27:48 +08:00
|
|
|
|
|
2019-05-14 00:26:20 +08:00
|
|
|
|
| 语言 | 构建状态 | - |
|
|
|
|
|
| :------------- | :------------- | :--- |
|
2020-02-22 14:30:11 +08:00
|
|
|
|
| [zh-hans](https://github.com/yeasy/docker_practice) | [![](https://travis-ci.org/yeasy/docker_practice.svg?branch=master)](https://travis-ci.org/yeasy/docker_practice)| [阅读](https://vuepress.mirror.docker-practice.com/) |
|
2019-11-06 14:22:02 +08:00
|
|
|
|
| [us-en](https://github.com/yeasy/docker_practice/tree/english) | [![](https://travis-ci.org/yeasy/docker_practice.svg?branch=english)](https://travis-ci.org/yeasy/docker_practice)| [阅读](https://docker_practice.gitee.io/us-en) |
|
|
|
|
|
| [zh-hant](https://github.com/yeasy/docker_practice/tree/zh-Hant) | [![](https://travis-ci.org/yeasy/docker_practice.svg?branch=zh-hant)](https://travis-ci.org/yeasy/docker_practice)| [阅读](https://docker_practice.gitee.io/zh-hant) |
|
2019-05-14 00:26:20 +08:00
|
|
|
|
|
2019-01-06 10:15:13 +08:00
|
|
|
|
[Docker](https://www.docker.com) 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的维护效率,降低了云计算应用开发的成本!使用 Docker,可以让应用的部署、测试和分发都变得前所未有的高效和轻松!
|
2016-06-12 18:22:47 +08:00
|
|
|
|
|
2018-03-21 14:59:25 +08:00
|
|
|
|
无论是应用开发者、运维人员、还是其他信息技术从业人员,都有必要认识和掌握 Docker,节约有限的生命。
|
2014-09-05 16:27:48 +08:00
|
|
|
|
|
2018-03-21 14:59:25 +08:00
|
|
|
|
本书既适用于具备基础 Linux 知识的 Docker 初学者,也希望可供理解原理和实现的高级用户参考。同时,书中给出的实践案例,可供在进行实际部署时借鉴。前六章为基础内容,供用户理解 Docker 的基本概念和操作;7 ~ 9 章介绍包括数据管理、网络等高级操作;第 10 ~ 13 章介绍了容器生态中的几个核心项目;14、15 章讨论了关于 Docker 安全和实现技术等高级话题。后续章节则分别介绍包括 Etcd、CoreOS、Kubernetes、Mesos、容器云等相关热门开源项目。最后,还展示了使用容器技术的典型的应用场景和实践案例。
|
2014-09-05 16:27:48 +08:00
|
|
|
|
|
2020-04-30 02:36:50 +08:00
|
|
|
|
* 在线阅读:[docker-practice.com](https://vuepress.mirror.docker-practice.com/),[GitBook](https://yeasy.gitbook.io/docker_practice/),[Github](https://github.com/yeasy/docker_practice/blob/master/SUMMARY.md)
|
2019-05-13 23:37:52 +08:00
|
|
|
|
* 下载:[pdf](https://github.com/yeasy/docker_practice/wiki/%E4%B8%8B%E8%BD%BD),[epub](https://github.com/yeasy/docker_practice/wiki/%E4%B8%8B%E8%BD%BD)
|
2019-08-31 17:47:38 +08:00
|
|
|
|
* [离线阅读 `$ docker run -it --rm -p 4000:80 dockerpracticesig/docker_practice`](https://github.com/yeasy/docker_practice/wiki/%E7%A6%BB%E7%BA%BF%E9%98%85%E8%AF%BB%E5%8A%9F%E8%83%BD%E8%AF%A6%E8%A7%A3)
|
2016-08-06 12:40:53 +08:00
|
|
|
|
|
2018-03-21 14:59:25 +08:00
|
|
|
|
Docker 自身仍在快速发展中,生态环境也在蓬勃成长。建议初学者使用最新稳定版本的 Docker 进行学习实践。欢迎 [参与项目维护](CONTRIBUTING.md)。
|
2017-01-12 13:25:22 +08:00
|
|
|
|
|
2017-12-05 12:36:26 +08:00
|
|
|
|
* [修订记录](CHANGELOG.md)
|
2017-01-12 13:25:22 +08:00
|
|
|
|
* [贡献者名单](https://github.com/yeasy/docker_practice/graphs/contributors)
|
|
|
|
|
|
2018-12-08 18:05:15 +08:00
|
|
|
|
## 微信小程序
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
<img width="200" src="https://user-images.githubusercontent.com/16733187/49682252-3ac4c500-faec-11e8-86ab-eafe0139be6b.jpg">
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center"><strong>微信扫码 随时随地阅读~</strong></p>
|
|
|
|
|
|
2017-01-12 13:25:22 +08:00
|
|
|
|
## 技术交流
|
2019-03-09 11:07:34 +08:00
|
|
|
|
|
2017-11-21 19:17:45 +08:00
|
|
|
|
欢迎加入 Docker 技术交流 QQ 群,分享 Docker 资源,交流 Docker 技术。
|
2015-12-24 09:44:47 +08:00
|
|
|
|
|
2016-09-28 16:50:48 +08:00
|
|
|
|
* QQ 群 I (已满):341410255
|
|
|
|
|
* QQ 群 II (已满):419042067
|
|
|
|
|
* QQ 群 III (已满):210028779
|
|
|
|
|
* QQ 群 IV (已满):483702734
|
|
|
|
|
* QQ 群 V (已满):460598761
|
|
|
|
|
* QQ 群 VI (已满):581983671
|
|
|
|
|
* QQ 群 VII (已满):252403484
|
2016-10-29 11:30:26 +08:00
|
|
|
|
* QQ 群 VIII(已满):544818750
|
2017-11-29 20:04:21 +08:00
|
|
|
|
* QQ 群 IX (已满):571502246
|
2019-03-29 11:41:02 +08:00
|
|
|
|
* QQ 群 X (可加):145983035
|
2018-01-13 00:38:30 +08:00
|
|
|
|
|
2019-09-20 16:50:32 +08:00
|
|
|
|
>如果有容器相关的疑问,请通过 [Issues](https://github.com/yeasy/docker_practice/issues/new/choose) 来提出。
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
<img width="200" src="https://user-images.githubusercontent.com/16733187/65308302-55b87f80-dbbc-11e9-9d42-57eac554fb3b.jpg">
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center"><strong>微信扫码 加入群聊~</strong></p>
|
2014-10-10 17:30:53 +08:00
|
|
|
|
|
2017-01-12 13:25:22 +08:00
|
|
|
|
## 进阶学习
|
2014-09-05 16:27:48 +08:00
|
|
|
|
|
2019-05-07 23:32:27 +08:00
|
|
|
|
[![](https://github.com/yeasy/docker_practice/raw/master/_images/docker_primer3.png)](https://union-click.jd.com/jdc?e=&p=AyIGZRtYFAcXBFIZWR0yEgRQH1kXAhs3EUQDS10iXhBeGlcJDBkNXg9JHU4YDk5ER1xOGRNLGEEcVV8BXURFUFdfC0RVU1JRUy1OVxUBFwNXGVscMlVYLlAaXAV1Z1JHA0dWEHVXZTliY1QLWStaJQAWB10fXhwKEDdlG1wlUHzf462DsLMO0%2F%2BUjp2VIgZlG18RBBcCUBlbEAoTBWUcWxwySVI7HAhBBxEOBUgOFQYQUGUraxYyIjdVK1glQHxXUEhYEVEUUFQcC0IHGgRRSAgVARAPAhsLFgNCDl0ZWiUAEwZREg%3D%3D&t=W1dCFFlQCxxKQgFHREkdSVJKSQVJHFRXFk9FUlpGQUpLCVBaTFhbXQtWVmpSWRtYEAYQBVUS)
|
2019-03-09 11:07:34 +08:00
|
|
|
|
|
2019-05-07 23:32:27 +08:00
|
|
|
|
《[Docker 技术入门与实战](https://union-click.jd.com/jdc?e=&p=AyIGZRtYFAcXBFIZWR0yEgRQH1kXAhs3EUQDS10iXhBeGlcJDBkNXg9JHU4YDk5ER1xOGRNLGEEcVV8BXURFUFdfC0RVU1JRUy1OVxUBFwNXGVscMlVYLlAaXAV1Z1JHA0dWEHVXZTliY1QLWStaJQAWB10fXhwKEDdlG1wlUHzf462DsLMO0%2F%2BUjp2VIgZlG18RBBcCUBlbEAoTBWUcWxwySVI7HAhBBxEOBUgOFQYQUGUraxYyIjdVK1glQHxXUEhYEVEUUFQcC0IHGgRRSAgVARAPAhsLFgNCDl0ZWiUAEwZREg%3D%3D&t=W1dCFFlQCxxKQgFHREkdSVJKSQVJHFRXFk9FUlpGQUpLCVBaTFhbXQtWVmpSWRtYEAYQBVUS)》第三版已经面世,介绍最新的容器技术栈,欢迎大家阅读使用并反馈建议。
|
2014-09-16 10:26:19 +08:00
|
|
|
|
|
2019-05-07 23:15:13 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
<img width="200" src="https://user-images.githubusercontent.com/16733187/57310918-3c3afd80-711d-11e9-8816-266e5ede70bb.jpg">
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center"><strong>微信扫码购买~</strong></p>
|
|
|
|
|
|
2019-05-07 23:32:27 +08:00
|
|
|
|
* [京东图书](https://union-click.jd.com/jdc?e=&p=AyIGZRtYFAcXBFIZWR0yEgRQH1kXAhs3EUQDS10iXhBeGlcJDBkNXg9JHU4YDk5ER1xOGRNLGEEcVV8BXURFUFdfC0RVU1JRUy1OVxUBFwNXGVscMlVYLlAaXAV1Z1JHA0dWEHVXZTliY1QLWStaJQAWB10fXhwKEDdlG1wlUHzf462DsLMO0%2F%2BUjp2VIgZlG18RBBcCUBlbEAoTBWUcWxwySVI7HAhBBxEOBUgOFQYQUGUraxYyIjdVK1glQHxXUEhYEVEUUFQcC0IHGgRRSAgVARAPAhsLFgNCDl0ZWiUAEwZREg%3D%3D&t=W1dCFFlQCxxKQgFHREkdSVJKSQVJHFRXFk9FUlpGQUpLCVBaTFhbXQtWVmpSWRtYEAYQBVUS)
|
2018-10-23 21:35:18 +08:00
|
|
|
|
* [China-Pub](http://product.china-pub.com/8052127)
|
2014-09-30 13:39:19 +08:00
|
|
|
|
|
2017-01-08 22:48:29 +08:00
|
|
|
|
## 鼓励项目
|
|
|
|
|
|
2018-12-08 18:05:15 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
<img width="200" src="https://github.com/yeasy/docker_practice/raw/master/_images/donate.jpeg">
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center"><strong>欢迎鼓励项目一杯 coffee~</strong></p>
|