<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Docker restart 策略把崩溃藏起来了]]></title><description><![CDATA[<p dir="auto">容器设置了 <code>restart: always</code>，所以监控看服务一直在。但用户反馈每隔几分钟断一次。</p>
]]></description><link>https://localaihub.com/topic/173/docker-restart-策略把崩溃藏起来了</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 19:44:27 GMT</lastBuildDate><atom:link href="https://localaihub.com/topic/173.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2026 11:00:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Wed, 13 May 2026 01:46:00 GMT]]></title><description><![CDATA[<p dir="auto">复盘重点：自动重启是保险丝，不是运维策略。</p>
]]></description><link>https://localaihub.com/post/1848</link><guid isPermaLink="true">https://localaihub.com/post/1848</guid><dc:creator><![CDATA[小吴]]></dc:creator><pubDate>Wed, 13 May 2026 01:46:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 23:53:00 GMT]]></title><description><![CDATA[<p dir="auto">再补一个启动后烟测。容器 running 后，真实接口能读写才算上线。</p>
]]></description><link>https://localaihub.com/post/1847</link><guid isPermaLink="true">https://localaihub.com/post/1847</guid><dc:creator><![CDATA[陈一]]></dc:creator><pubDate>Tue, 12 May 2026 23:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 22:16:00 GMT]]></title><description><![CDATA[<p dir="auto">现在加了 restart count 告警，也把数据库 readiness 拆出来。</p>
]]></description><link>https://localaihub.com/post/1846</link><guid isPermaLink="true">https://localaihub.com/post/1846</guid><dc:creator><![CDATA[zeroOne]]></dc:creator><pubDate>Tue, 12 May 2026 22:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 22:03:00 GMT]]></title><description><![CDATA[<p dir="auto">告警要看 restart count 和启动时间，不要只看容器状态 running。</p>
]]></description><link>https://localaihub.com/post/1845</link><guid isPermaLink="true">https://localaihub.com/post/1845</guid><dc:creator><![CDATA[Grace]]></dc:creator><pubDate>Tue, 12 May 2026 22:03:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 21:09:00 GMT]]></title><description><![CDATA[<p dir="auto">我们之前 migration 失败后容器一直重启，最后管理员以为是流量高。</p>
]]></description><link>https://localaihub.com/post/1844</link><guid isPermaLink="true">https://localaihub.com/post/1844</guid><dc:creator><![CDATA[小蓝]]></dc:creator><pubDate>Tue, 12 May 2026 21:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 20:14:00 GMT]]></title><description><![CDATA[<p dir="auto">加启动前等待只是缓解，真正要应用能优雅处理依赖短暂不可用。</p>
]]></description><link>https://localaihub.com/post/1843</link><guid isPermaLink="true">https://localaihub.com/post/1843</guid><dc:creator><![CDATA[melo]]></dc:creator><pubDate>Tue, 12 May 2026 20:14:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 17:43:00 GMT]]></title><description><![CDATA[<p dir="auto">数据库启动顺序和 readiness 要处理。<code>depends_on</code> 不等于数据库可用。</p>
]]></description><link>https://localaihub.com/post/1842</link><guid isPermaLink="true">https://localaihub.com/post/1842</guid><dc:creator><![CDATA[nora]]></dc:creator><pubDate>Tue, 12 May 2026 17:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 16:43:00 GMT]]></title><description><![CDATA[<p dir="auto">日志最早是数据库连接失败，后面就是应用启动失败。</p>
]]></description><link>https://localaihub.com/post/1841</link><guid isPermaLink="true">https://localaihub.com/post/1841</guid><dc:creator><![CDATA[zeroOne]]></dc:creator><pubDate>Tue, 12 May 2026 16:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 16:32:00 GMT]]></title><description><![CDATA[<p dir="auto">容器重启还可能打断 WebSocket、队列任务、索引更新。用户感知会比监控严重。</p>
]]></description><link>https://localaihub.com/post/1840</link><guid isPermaLink="true">https://localaihub.com/post/1840</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Tue, 12 May 2026 16:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 13:49:00 GMT]]></title><description><![CDATA[<p dir="auto">那先查第一次崩溃日志，别看最后一次。后面可能都是连带错误。</p>
]]></description><link>https://localaihub.com/post/1839</link><guid isPermaLink="true">https://localaihub.com/post/1839</guid><dc:creator><![CDATA[阿航]]></dc:creator><pubDate>Tue, 12 May 2026 13:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 12:37:00 GMT]]></title><description><![CDATA[<p dir="auto">重启次数 186，之前没人看这个指标。</p>
]]></description><link>https://localaihub.com/post/1838</link><guid isPermaLink="true">https://localaihub.com/post/1838</guid><dc:creator><![CDATA[zeroOne]]></dc:creator><pubDate>Tue, 12 May 2026 12:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Docker restart 策略把崩溃藏起来了 on Tue, 12 May 2026 12:12:00 GMT]]></title><description><![CDATA[<p dir="auto">restart 策略只能拉起进程，不能证明服务健康。看容器 restart count。</p>
]]></description><link>https://localaihub.com/post/1837</link><guid isPermaLink="true">https://localaihub.com/post/1837</guid><dc:creator><![CDATA[小吴]]></dc:creator><pubDate>Tue, 12 May 2026 12:12:00 GMT</pubDate></item></channel></rss>