yeasy
|
a780127d48
|
fix(用词): 「其它」统一为「其他」(34 处 / 25 文件)
《现代汉语词典》与《中文技术文档写作风格指南》都以「其他」为规范词形;
本书基线是 90 处「其他」比 35 处「其它」,是集群里遗留最多的一本
(其余各书 0~4 处,blockchain_guide 已于 2026-08-05 统一过 47 处)。
其中 6 处在标题和目录上——`4.6 其它制作镜像的方式`、`第十七章 容器其它生态`、
`18.5 其它安全特性`——标题与 SUMMARY 条目**同批改写以保持一致**:
改动后 196 条目录名与各文件标题仍是 0 处不一致。
**`CHANGELOG.md` 里那一处刻意不动**:它是历史发布记录,改它等于改历史。
改动前后逐字符对称差:只有 34 个「它」变成「他」,无其他字符变化。
`check_project_rules` 202/202、`check_emphasis` 202/202、37 tests OK。
|
2026-08-24 13:18:05 -07:00 |
|
yeasy
|
ef2625531d
|
style: 含中文的括号统一为全角(336 处 / 110 文件)
全书此前是真·五五开:含中文的括号 336 处半角 : 336 处全角,而且**在同一文件
内混用**——`18_security/18.1_kernel_ns.md` 第 11/17/20 行写 `(如 runC)`,
第 31 行写 `(用户命名空间映射)`。这不是体例问题,是它自己跟自己不一致。
集群里其余 13 本都一边倒(llm_internals 5 : 1049、oc_guide 2 : 713、
forward_deployed_engineering_guide 0 : 108),blockchain_guide 已在 2026-08-05
按同一方向统一过 97 处,故取全角,而非另立新规。全角括号前后不留空格,
原先 `概念 (镜像、容器、仓库) 和` 两侧的空格一并收掉。
**纯拉丁内容的半角括号一个没动**——`新建一个层 (Layer)`、`项目 (project)`
保持原样:改动前后「半角且内容纯拉丁」的数量都是 **1163**,而「半角且含中文」
从 **336 变成 0**。
其余验证:改动前后各自抹掉全部空白与圆括号后**逐字节相同**(两侧均 19559 字符);
左右括号总数改动前后都是 399 : 399,证明没有吞括号也没有配错对。
`check_project_rules` 202/202、`check_emphasis` 202/202、37 tests OK、
根 `format_checker` 与 `validate_codeblocks` 干净、`git diff --check` 干净。
|
2026-08-24 13:13:23 -07:00 |
|
yeasy
|
08e981018e
|
fix(content): 修正四处书内自相矛盾的技术断言
1. FROM「必须是第一条指令」(4.5、7.16、summary 三处)与本书 7.7.4「FROM 之前的
ARG」整节直接冲突。官方 Dockerfile 参考写的是 "A Dockerfile must begin with a
FROM instruction. This may be after parser directives, comments, and globally
scoped ARGs",且 "ARG is the only instruction that may precede FROM"。三处
一并改成「第一条构建指令」并点明例外。
2. 12 章小结把 USER Namespace 列进「默认启用」的一档,并写「容器 root ≠ 宿主机
root」;而同章 12.2.2 明写 USER Namespace 默认**不**启用、需 userns-remap 显式
开启,18.1 更直说「在默认情况下,容器内的 root 用户(UID=0)就是宿主机上的
root 用户」。小结按正文口径改回——这条读反了会直接误判容器逃逸的风险面。
3. 11.5「目前支持三种日志驱动类型」是 Compose 早期文本的残留。官方支持 json-file、
local、syslog、journald、gelf、fluentd、awslogs、splunk、etwlogs、gcplogs、
none 共十余种,本书 19 章小结自己就列了六种。改为给出常见取值并链到官方清单。
4. 7.8 与 7.5 的示例注释建议 postgres:latest / redis:latest,而 4.1、7.10、
7.16、7 章小结、4.5 全都要求避免 latest(7.8 同一文件第 177 行也写「避免
latest」)。按全书口径改掉这两处。
另:ENV 的空格分隔旧写法(7.6 的「格式一」、附录四的 PG_MAJOR/PATH 示例)改为等号
形式并加注。BuildKit 的 LegacyKeyValueFormat 检查会报
"ENV key=value" should be used instead of legacy "ENV key value" format,
而本书 10.2 与 07 章 README 正是在推荐 docker buildx build --check。
|
2026-08-07 23:26:12 -07:00 |
|
yeasy
|
7340cc16a8
|
fix(security): avoid world-writable storage in Laravel multi-stage examples
两处 Laravel 多阶段构建示例把 storage 目录设为 chmod -R 777,且全文没有任何
警告或说明,读者复制粘贴即得到 session/cache/log 目录全局可写的生产镜像。
这与本书 7.11(USER)与第 18 章的最小权限指引相矛盾。
改为将 storage 归属 www-data(php:8.3-fpm-alpine 中 php-fpm worker 的运行用户)
并设为 775:构建期 artisan 以 root 运行不受影响,运行期 www-data 仍可写。
|
2026-07-16 23:20:25 -07:00 |
|
yeasy
|
ee0fbd7d38
|
fix(ci): attest releases and validate offline examples
|
2026-07-10 19:29:30 -07:00 |
|
yeasy
|
daa6661b2b
|
fix(ci): harden publishing and validate examples
|
2026-07-10 19:29:30 -07:00 |
|
yeasy
|
9fdffa9d91
|
fix(content): harden Docker practice guide
|
2026-06-16 21:23:21 -07:00 |
|
yeasy
|
070d4d6d69
|
fix(content): harden secret handling examples
|
2026-06-06 00:43:52 -07:00 |
|
yeasy
|
2185211041
|
fix(07): note FROM uses pre-FROM ARG, not ENV, for variable substitution
|
2026-05-28 11:38:27 -07:00 |
|
yeasy
|
f09e800020
|
fix(content): harden copy-paste safety examples
|
2026-05-27 18:17:24 -07:00 |
|
yeasy
|
8b9e4518c8
|
docs(content): add Mac alternatives, K8s transition guide, CI/CD registry push example
- Add OrbStack/Colima comparison table to Mac install chapter (3.7.4)
- Add Docker→K8s concept mapping paragraph to Ch13 intro
- Add KubeKey/RKE2 deployment tool notes to Ch14
- Add production image checklist to Dockerfile chapter summary
- Add build-and-push-to-registry workflow example to GitHub Actions section
- Expand Ch18 security summary with dimension table
|
2026-05-21 21:33:58 -07:00 |
|
yeasy
|
10b09f35eb
|
fix(content): update DCT expiry tense and prefer named multistage COPY
|
2026-05-21 20:49:19 -07:00 |
|
yeasy
|
58504e9316
|
fix(review-fixes): surgical content corrections from web-verified library deep review
|
2026-05-19 19:45:02 -07:00 |
|
yeasy
|
9f481e88ca
|
Fix go mod, Docker Hub rate limit, Compose verbose, docker debug, htpasswd security
|
2026-05-13 08:30:20 +00:00 |
|
yeasy
|
3c5c5911b0
|
Fix nginx version, IPVS removal, cgroups v2 and Redis config
|
2026-05-13 08:22:20 +00:00 |
|
yeasy
|
b148d9efa9
|
Update nginx to 1.30 stable, add IPVS deprecation note
|
2026-05-02 18:18:48 +00:00 |
|
yeasy
|
4cb91a75f3
|
Update etcd cluster demo to v3.5.29, Node to 22 LTS
|
2026-05-02 16:16:59 +00:00 |
|
yeasy
|
bf3107b775
|
Update MySQL 8.0 to 8.4 LTS, fix Trivy tag count
|
2026-05-02 15:22:58 +00:00 |
|
yeasy
|
7e3f90b522
|
Update Node base images to 22 LTS
|
2026-05-01 10:24:43 +00:00 |
|
yeasy
|
c554799b08
|
Restore nginx 1.30 stable references
|
2026-04-29 07:53:31 +00:00 |
|
yeasy
|
99c56217f5
|
Fix Chinese curly quote direction
|
2026-04-29 05:21:02 +00:00 |
|
yeasy
|
9c98e35c62
|
Fix nginx version to 1.28 stable
|
2026-04-28 16:15:39 +00:00 |
|
yeasy
|
30f0115cb9
|
Update nginx, OS, Buildx, etcd and K8s refs
|
2026-04-28 12:22:57 +00:00 |
|
yeasy
|
62f48c1417
|
Update nginx, Debian, Ubuntu, Fedora, Docker versions
|
2026-04-28 11:14:55 +00:00 |
|
yeasy
|
8ebf284f9e
|
Update nginx references from 1.25 to 1.30
|
2026-04-28 09:24:03 +00:00 |
|
yeasy
|
16203c5018
|
Complete Dockerfile instruction reference list
|
2026-04-27 23:17:39 +00:00 |
|
yeasy
|
e416a1be7e
|
Fix Docker Hub rate limits, DCT timeline, image tags, etcd and Alertmanager
|
2026-04-27 01:15:52 +00:00 |
|
yeasy
|
b2839f735c
|
Fix broken code block in laravel multistage Dockerfile
|
2026-04-25 20:42:18 +00:00 |
|
yeasy
|
1e9cdeea3f
|
Update Grafana to v13, add version notes
|
2026-04-25 15:50:13 +00:00 |
|
yeasy
|
515ba9f64a
|
Add blank lines before lists per CommonMark
|
2026-04-25 15:13:27 +00:00 |
|
yeasy
|
839a63f5af
|
Update versions and fix formatting issues
|
2026-04-25 15:10:43 +00:00 |
|
yeasy
|
8093b198ce
|
Update node-exporter to v1.11.1, fcct to butane
|
2026-04-25 14:58:40 +00:00 |
|
yeasy
|
77a537df54
|
Add blank lines before lists per CommonMark
|
2026-04-25 14:57:09 +00:00 |
|
yeasy
|
c9c72618c3
|
Refresh k8s docker versions and references
|
2026-04-21 20:57:33 -07:00 |
|
yeasy
|
b3d1508310
|
Add new content and update versions
|
2026-04-19 22:35:33 -07:00 |
|
yeasy
|
6b2ebd12ac
|
Fix Chinese curly quotes in prose text
|
2026-04-14 20:29:35 -07:00 |
|
yeasy
|
3bad07c41a
|
更新Docker安装、镜像、Dockerfile和Compose等文档内容
|
2026-03-29 11:40:34 -07:00 |
|
yeasy
|
63ce0dc3f5
|
Fix trailing whitespace
|
2026-03-27 22:20:39 -07:00 |
|
Baohua Yang
|
b67d5367dc
|
chore: update content and add generated PDF
|
2026-03-27 08:43:47 -07:00 |
|
yeasy
|
d6abed17da
|
Simplify CI to mdpress only
|
2026-03-25 21:57:30 -07:00 |
|
yeasy
|
76c2ae50fe
|
Add blank lines around headers
|
2026-03-24 09:27:04 -07:00 |
|
yeasy
|
44b1307277
|
Remove blank lines after code block markers
|
2026-03-21 22:36:09 -07:00 |
|
yeasy
|
370949f226
|
Add blank lines before headers
|
2026-03-21 12:57:51 -07:00 |
|
yeasy
|
8d7541bed6
|
Convert bare URLs to markdown links
|
2026-03-16 23:28:44 -07:00 |
|
yeasy
|
c02a8a41cd
|
Update container runtime guidance
|
2026-03-16 20:49:00 -07:00 |
|
yeasy
|
b9c63a5133
|
Polish Docker workflow formatting
|
2026-03-16 00:32:49 -07:00 |
|
yeasy
|
a8e7ba1551
|
修复错别字:。env → .env
|
2026-03-14 13:55:58 -07:00 |
|
yeasy
|
470271fa6a
|
Fix outdated versions, template variables and version inconsistencies
- Update K8s Dashboard v2.0.0 to v2.7.0
- Update etcd v3.4.0 to v3.5.17
- Update PostgreSQL 15 to 16 for consistency
- Update Node.js 12 to 20 (current LTS)
- Replace unresolved GitBook template variables (CODE1/2/3/9)
|
2026-03-14 08:45:42 -07:00 |
|
yeasy
|
a16e0879c0
|
Improve READMEs and add contribution prompts
|
2026-03-09 20:04:21 -07:00 |
|
yeasy
|
0d4c32dd46
|
Add pitfall notes to COPY and networking docs
|
2026-03-09 20:04:19 -07:00 |
|