<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker on Yuki - 云原生平台开发工程师</title><link>https://yuki-node.github.io/tags/docker/</link><description>Recent content in Docker on Yuki - 云原生平台开发工程师</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 26 Mar 2025 01:26:49 +0800</lastBuildDate><atom:link href="https://yuki-node.github.io/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>减少 Docker 日志大小</title><link>https://yuki-node.github.io/post/reducing-docker-logs-size/</link><pubDate>Wed, 26 Mar 2025 01:26:49 +0800</pubDate><guid>https://yuki-node.github.io/post/reducing-docker-logs-size/</guid><description>&lt;blockquote>
&lt;p>&lt;em>本文翻译自：&lt;a href="https://linuxiac.com/reducing-docker-logs-file-size/">Reducing Docker Logs File Size&lt;/a>&lt;/em>&lt;/p>&lt;/blockquote>
&lt;h2 id="前言">前言&lt;/h2>
&lt;p>Docker 是一个十分优秀的工具，能帮助我们快速设置和执行所需的程序，但是我们经常忽略其运行中所产生的日志。&lt;/p>
&lt;p>然而最近，我发现我的服务器磁盘空间几乎快满了，通过调查发现 Docker 容器一年内产生了将近 14GB log 文件。&lt;/p></description></item></channel></rss>