mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 12:21:17 +00:00
Fix typography
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
## 1. 安全与凭据处理
|
||||
|
||||
任何示例文档中都**严禁出现将凭据以明文形式直接传递给命令参数**的做法。
|
||||
任何示例文档中都 **严禁出现将凭据以明文形式直接传递给命令参数** 的做法。
|
||||
|
||||
* **错误示例**:`docker login -u myuser -p mysecretpassword` (这会导致密码泄露到历史记录及进程列表中)
|
||||
* **正确示例(交互式)**:推荐读者直接使用 `docker login` (优先使用官方 Device Code Flow)。
|
||||
@@ -17,7 +17,7 @@
|
||||
* **明确声明前置条件**:例如,“此功能需要开启 containerd image store” 或 “需要额外配置 `--push`”。
|
||||
* **描述失败现象**:明确告诉读者,“如果你不这么配置,命令仍会提示成功,但产物将不可见/被丢弃”。
|
||||
|
||||
## 3. 统一使用 "docker compose" 命令
|
||||
## 3. 统一使用 “docker compose” 命令
|
||||
|
||||
早期 Python 编写的 `docker-compose` (V1) 已停止支持。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user