<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>磁盘清理 on Moxuan's Blog</title><link>https://blog.moxuan.de/tags/%E7%A3%81%E7%9B%98%E6%B8%85%E7%90%86/</link><description>Recent content in 磁盘清理 on Moxuan's Blog</description><image><title>Moxuan's Blog</title><url>https://i.postimg.cc/7hwBy7VS/calcr.png</url><link>https://i.postimg.cc/7hwBy7VS/calcr.png</link></image><generator>Hugo -- 0.154.3</generator><language>zh-cn</language><copyright>©2023-2026 moxuan</copyright><lastBuildDate>Sun, 14 Jul 2024 09:30:00 +0800</lastBuildDate><atom:link href="https://blog.moxuan.de/tags/%E7%A3%81%E7%9B%98%E6%B8%85%E7%90%86/index.xml" rel="self" type="application/rss+xml"/><item><title>VPS 磁盘爆满报警，记录几个极其好用的 Docker 清理命令</title><link>https://blog.moxuan.de/posts/docker-disk-space-clean/</link><pubDate>Sun, 14 Jul 2024 09:30:00 +0800</pubDate><guid>https://blog.moxuan.de/posts/docker-disk-space-clean/</guid><description>&lt;p&gt;早上服务器的监控脚本发来预警，说这台 20G 硬盘的小机器可用空间不足 5% 了。&lt;/p&gt;
&lt;p&gt;登上去用 &lt;code&gt;df -h&lt;/code&gt; 一看，确实快满了。顺着用 &lt;code&gt;du -sh /*&lt;/code&gt; 往下扒，发现罪魁祸首是 Docker 的目录。平时瞎折腾拉了一堆镜像，旧容器删了但悬空镜像还在占空间。&lt;/p&gt;</description></item></channel></rss>