<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker - 标签 - 南冥鹏影</title><link>https://fupcode.com/blog/tags/docker/</link><description>南冥鹏影</description><generator>Hugo 0.168.0 &amp; FixIt v1.0.0-beta.4</generator><language>zh-CN</language><lastBuildDate>Tue, 19 May 2026 17:38:41 +0800</lastBuildDate><atom:link href="https://fupcode.com/blog/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker 容器时区问题：UTC 导致的自然日业务刷新异常</title><link>https://fupcode.com/blog/posts/devops/problem-docker-timezone/</link><pubDate>Tue, 19 May 2026 17:38:41 +0800</pubDate><guid>https://fupcode.com/blog/posts/devops/problem-docker-timezone/</guid><category domain="https://fupcode.com/blog/categories/%E5%BC%80%E5%8F%91%E8%BF%90%E7%BB%B4/">开发运维</category><description>&lt;p&gt;最近将微信小程序后端迁移到 Docker 后，出现了“每日刷新”相关 Bug，例如：&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;每日广告次数未刷新&lt;/li&gt;&#10;&lt;li&gt;次日仍然沿用前一天状态&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;排查后发现，问题并不在业务逻辑，而是：&lt;/p&gt;</description></item><item><title>Docker 挂载单个文件的一个隐蔽 Bug：修改后容器和宿主机会“分离”</title><link>https://fupcode.com/blog/posts/devops/problem-docker-volume-edit-bug/</link><pubDate>Thu, 12 Mar 2026 19:11:13 +0800</pubDate><guid>https://fupcode.com/blog/posts/devops/problem-docker-volume-edit-bug/</guid><category domain="https://fupcode.com/blog/categories/%E5%BC%80%E5%8F%91%E8%BF%90%E7%BB%B4/">开发运维</category><description>&lt;h2 class="heading-element" id="问题背景"&gt;&lt;span&gt;问题背景&lt;/span&gt;&#13;&#10; &lt;a href="#%e9%97%ae%e9%a2%98%e8%83%8c%e6%99%af" class="heading-mark"&gt;&lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&#13;&#10;&lt;/h2&gt;&lt;p&gt;Docker Compose 里经常会把单个配置文件 bind mount 到容器中：&lt;/p&gt;</description></item></channel></rss>