Skip to content

Commit 8d240b8

Browse files
authored
Merge pull request #286 from khs1994/master
Update content
2 parents bf18493 + e330bbd commit 8d240b8

File tree

9 files changed

+464
-35
lines changed

9 files changed

+464
-35
lines changed

CONTRIBUTING.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
## 如何贡献项目
22

3-
* 领取或创建新的 [Issue](https://github.com/yeasy/docker_practice/issues),如 [issue 235](https://github.com/yeasy/docker_practice/issues/235),添加自己为 `Assignee`
3+
领取或创建新的 [Issue](https://github.com/yeasy/docker_practice/issues),如 [issue 235](https://github.com/yeasy/docker_practice/issues/235),添加自己为 `Assignee`
44

5-
* [GitHub](https://github.com/yeasy/docker_practice/fork)`fork` 到自己的仓库,如 `docker_user/docker_practice`,然后 `clone` 到本地,并设置用户信息。
5+
[GitHub](https://github.com/yeasy/docker_practice/fork)`fork` 到自己的仓库,如 `docker_user/docker_practice`,然后 `clone` 到本地,并设置用户信息。
66

7-
```bash
8-
$ git clone [email protected]:docker_user/docker_practice.git
9-
$ cd docker_practice
10-
$ git config user.name "yourname"
11-
$ git config user.email "your email"
12-
```
7+
```bash
8+
$ git clone [email protected]:docker_user/docker_practice.git
9+
$ cd docker_practice
10+
$ git config user.name "yourname"
11+
$ git config user.email "your email"
12+
```
1313

14-
* 修改代码后提交,并推送到自己的仓库,注意修改提交消息为对应 Issue 号和描述。
14+
修改代码后提交,并推送到自己的仓库,注意修改提交消息为对应 Issue 号和描述。
1515

16-
```bash
17-
$ # Update the content
18-
 $ git commit -a -s
19-
 $ # In commit msg dialog, add content like "Fix issue #235: describe ur change"
20-
$ git push
21-
```
16+
```bash
17+
# Update the content
18+
$ git commit -a -s
19+
# In commit msg dialog, add content like "Fix issue #235: describe ur change"
20+
$ git push
21+
```
2222

23-
* [GitHub](https://github.com/yeasy/docker_practice/pulls) 上提交 `Pull Request`,添加标签,并邀请维护者进行 `Review`
23+
[GitHub](https://github.com/yeasy/docker_practice/pulls) 上提交 `Pull Request`,添加标签,并邀请维护者进行 `Review`
2424

25-
* 定期使用项目仓库内容更新自己仓库内容。
25+
定期使用项目仓库内容更新自己仓库内容。
2626

27-
```bash
28-
$ git remote add upstream https://github.com/yeasy/docker_practice
29-
$ git fetch upstream
30-
$ git checkout master
31-
$ git rebase upstream/master
32-
$ git push -f origin master
33-
```
27+
```bash
28+
$ git remote add upstream https://github.com/yeasy/docker_practice
29+
$ git fetch upstream
30+
$ git checkout master
31+
$ git rebase upstream/master
32+
$ git push -f origin master
33+
```
3434

3535
## 排版规范
3636

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212

1313
本书既适用于具备基础 Linux 知识的 Docker 初学者,也希望可供理解原理和实现的高级用户参考。同时,书中给出的实践案例,可供在进行实际部署时借鉴。前六章为基础内容,供用户理解 Docker 的基本概念和操作;7 ~ 9 章介绍一些高级操作;第 10 章给出典型的应用场景和实践案例;11、12 章介绍关于 Docker 安全和实现技术等高级话题。后续章节则分别介绍一些相关的热门开源项目。
1414

15-
* 在线阅读:[GitBook](https://www.gitbook.io/book/yeasy/docker_practice)[Github](https://github.com/yeasy/docker_practice/blob/master/SUMMARY.md)
16-
* [离线阅读](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)
15+
* 在线阅读:[GitBook](https://www.gitbook.io/book/yeasy/docker_practice)[Github](https://github.com/yeasy/docker_practice/blob/master/SUMMARY.md)
16+
* [国内镜像](https://github.com/yeasy/docker_practice/wiki/%E9%A1%B9%E7%9B%AE%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F)
17+
* [离线阅读](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)
1718
* pdf 版本 [下载](https://www.gitbook.com/download/pdf/book/yeasy/docker_practice)
1819
* epub 版本 [下载](https://www.gitbook.com/download/epub/book/yeasy/docker_practice)
1920

SUMMARY.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@
8383
* [Swarm mode](swarm_mode/README.md)
8484
* [基本概念](swarm_mode/overview.md)
8585
* [创建 Swarm 集群](swarm_mode/create.md)
86-
* [在 Swarm 集群部署服务](swarm_mode/deploy.md)
87-
* [在 Swarm 集群中使用 compose 文件](swarm_mode/stack.md)
86+
* [部署服务](swarm_mode/deploy.md)
87+
* [使用 compose 文件](swarm_mode/stack.md)
88+
* [管理敏感数据](swarm_mode/secret.md)
8889
* [安全](security/README.md)
8990
* [内核命名空间](security/kernel_ns.md)
9091
* [控制组](security/control_group.md)
@@ -148,5 +149,6 @@
148149
* [WordPress](appendix/repo/wordpress.md)
149150
* [Node.js](appendix/repo/nodejs.md)
150151
* [附录三:Docker 命令查询](appendix/command/README.md)
151-
* [附录四:资源链接](appendix/resources/README.md)
152-
* [附录五:Docker 中文资源](appendix/resources/cn.md)
152+
* [附录四:Dockerfile 最佳实践](appendix/best_practices.md))
153+
* [附录五:资源链接](appendix/resources/README.md)
154+
* [附录六:Docker 中文资源](appendix/resources/cn.md)

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
theme: jekyll-theme-slate
1+
theme: jekyll-theme-slate
2+
include: [_images]

0 commit comments

Comments
 (0)