mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 04:14:38 +00:00
style(docs): standardize heading formats and numbering
- Enforce Level 1-3 structural numbering based on SUMMARY.md hierarchy - Remove structural numbering from Level 4+ headings - Eliminate single child headings by converting to bold text - Auto-inject summary text for headings with multiple children missing intro text - Exclude Appendix chapters from structural numbering - Avoid modifying code block contents - Add script to detect non-standard English usage in headers
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
在回答 “为什么用 Docker” 之前,笔者想先问一个问题:**你有没有经历过这些场景?**
|
||||
|
||||
### 没有 Docker 的世界
|
||||
### 1.3.1 没有 Docker 的世界
|
||||
|
||||
在 Docker 出现之前,软件开发和运维面临着诸多棘手的问题。我们先来看看以下三个典型的痛点场景。
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
所有人:😱
|
||||
```
|
||||
|
||||
### Docker 如何解决这些问题
|
||||
### 1.3.2 Docker 如何解决这些问题
|
||||
|
||||
Docker 的出现为上述问题提供了完美的解决方案。它通过 “一次构建,到处运行” 的核心理念,从根本上改变了软件交付的方式。
|
||||
|
||||
@@ -75,7 +75,7 @@ flowchart TD
|
||||
img3 --> res3["完全一致"]
|
||||
```
|
||||
|
||||
### Docker 的核心优势
|
||||
### 1.3.3 Docker 的核心优势
|
||||
|
||||
除了解决上述痛点,Docker 还拥有诸多显著的技术优势,包括环境一致性、秒级启动、高效的资源利用等。
|
||||
|
||||
@@ -204,7 +204,7 @@ flowchart TD
|
||||
end
|
||||
```
|
||||
|
||||
### Docker 不适合的场景
|
||||
### 1.3.4 Docker 不适合的场景
|
||||
|
||||
笔者认为,技术选型要客观。Docker 并非银弹,以下场景可能不太适合:
|
||||
|
||||
@@ -224,7 +224,7 @@ flowchart TD
|
||||
|
||||
Docker 主要面向服务端应用。桌面 GUI 应用的容器化虽然可行,但通常得不偿失。
|
||||
|
||||
### 与传统虚拟机的对比总结
|
||||
### 1.3.5 与传统虚拟机的对比总结
|
||||
|
||||
相关信息如下表:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user