docs(content): update Compose and safety guidance

This commit is contained in:
yeasy
2026-05-21 20:13:39 -07:00
parent a3567ff6a0
commit e17bef96d2
5 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ $ chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
```bash
$ docker compose version
Docker Compose version v2.x.x
Docker Compose version v5.x.x
```
### 11.2.3 卸载
+1 -1
View File
@@ -17,7 +17,7 @@ K3s 的安装非常简单,官方提供了便捷的安装脚本。
#### 脚本安装
K3s 提供了极为便捷的安装脚本
K3s 提供了极为便捷的安装脚本该命令会从网络下载脚本并直接交给 `sh` 执行生产环境建议先下载审查脚本内容并按官方文档固定版本或安装参数
```bash
curl -sfL https://get.k3s.io | sh -
@@ -625,5 +625,6 @@ docker exec <container_id> ping 8.8.8.8
docker inspect <container_id> | grep -A 10 NetworkSettings
# 解决方案:更换网络驱动或调整 MTU
docker run --net=host myapp:latest # 使用宿主机网络(性能最佳)
# host 网络可降低网络栈开销,但会放弃容器网络隔离;仅在明确接受安全边界变化时使用
docker run --net=host myapp:latest
```
+1
View File
@@ -191,6 +191,7 @@
* [附录](appendix/README.md)
* [附录一常见问题与错误速查](appendix/faq/README.md)
* [常见错误处理](appendix/faq/errors.md)
* [附录二热门镜像介绍](appendix/repo/README.md)
* [Ubuntu](appendix/repo/ubuntu.md)
* [CentOS](appendix/repo/centos.md)
+2
View File
@@ -1,5 +1,7 @@
# 附录一常见问题与错误速查
更多错误排查条目见 [常见错误处理](errors.md)
## 镜像相关
### 如何批量清理临时镜像文件