Posted 2025-06-06Updated 2025-06-062 minutes read (About 265 words)Fluentd 日志截断问题某些日志行内容过长,fluentd 在采集时会将其拆分成多个 message,最终在 Kibana/Loki 等平台中呈现为被截断的日志。Read more
Posted 2025-06-04Updated 2025-06-0522 minutes read (About 3288 words)容器实现原理Linux 内核的 Namespace 和 Cgroups 可以让程序在一个资源可控的独立(隔离)环境中运行,这就是容器运行运用到的核心技术。Read more
Posted 2025-06-04Updated 2025-06-043 minutes read (About 492 words)容器数据卷挂载实现容器的启动运用到了 OverlayFS,而容器的数据持久化就需要用到数据卷,数据卷的实现就不是使用 OverlayFS 了,Docker 提供了四种挂载类型的实现: Volume mounts Bind mounts tmpfs mounts Named pipes Read more
Posted 2025-06-03Updated 2025-06-0444 minutes read (About 6607 words)容器文件系统实现容器的核心技术是由 Linux Namespace + Cgroups 实现的。而容器的文件系统是通过 Mount Namespace 实现。Read more
Posted 2025-06-03Updated 2025-06-0314 minutes read (About 2151 words)容器网络实现容器的网络是基于 Linux 的 网络命名空间(Network Namespace) 和 虚拟网络设备(veth pair) 实现的。Read more