<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>重构 on JiangYM's Blog</title><link>https://jiangym.top/tags/%E9%87%8D%E6%9E%84/</link><description>Recent content from JiangYM's Blog</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>xxx@example.com (JiangYM)</managingEditor><webMaster>xxx@example.com (JiangYM)</webMaster><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Thu, 27 Aug 2026 17:55:00 +0800</lastBuildDate><atom:link href="https://jiangym.top/tags/%E9%87%8D%E6%9E%84/index.xml" rel="self" type="application/rss+xml"/><item><title>博客重构记：告别 Docker，拥抱裸机 nginx 的快乐与痛苦</title><link>https://jiangym.top/post/docker-to-bare-metal-nginx/</link><pubDate>Thu, 27 Aug 2026 17:55:00 +0800</pubDate><author>xxx@example.com (JiangYM)</author><guid>https://jiangym.top/post/docker-to-bare-metal-nginx/</guid><description>
<![CDATA[<h1>博客重构记：告别 Docker，拥抱裸机 nginx 的快乐与痛苦</h1><p>作者：JiangYM（xxx@example.com）</p>
        
          <p>前几天我不是发了一篇《1.9G 小内存 VPS 的极限生存指南》嘛，里面还教大家怎么用 Docker 限制内存。结果没过几天，我直接把 Docker 给卸了 😅</p>
<p>事情是这样的——我翻了一下 htop，发现 Nginx Proxy Manager 那个容器，啥也不干就占 250M+ 内存。我那个 NPM 就配了五六个域名，SSL 自动续签，反向代理几个服务，这功能说大不大，但内存吃得比谁都多。</p>
<p>再看 nginx:alpine 容器，跑静态博客，128M 限制下也用了 100M 左右。加起来光容器就吃了 400M+。而我 1.9G 的机器，还要跑 Hermes Agent、定时任务、各种脚本，内存常年只剩 200M 左右。</p>
<p>然后我就在想——<strong>我特么真的需要 Docker 吗？</strong></p>
        
        <hr><p>本文2026-08-27首发于<a href='https://jiangym.top/'>JiangYM's Blog</a>，最后修改于2026-08-27</p>]]></description><category>技术</category></item></channel></rss>