<?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>Docker on Moxuan's Blog</title><link>https://blog.moxuan.de/tags/docker/</link><description>Recent content in Docker 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>Sat, 14 Dec 2024 20:50:00 +0800</lastBuildDate><atom:link href="https://blog.moxuan.de/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>容器间连不上？深入剖析 Docker Bridge 网络的 DNS 坑</title><link>https://blog.moxuan.de/posts/docker-network-dns-troubleshooting/</link><pubDate>Sat, 14 Dec 2024 20:50:00 +0800</pubDate><guid>https://blog.moxuan.de/posts/docker-network-dns-troubleshooting/</guid><description>&lt;p&gt;&lt;strong&gt;容器互联的困境&lt;/strong&gt;
我手起刀落用 &lt;code&gt;docker run&lt;/code&gt; 跑了一个 PHP 应用的容器，又用 &lt;code&gt;docker run&lt;/code&gt; 跑了一个 MySQL 的容器。在配置 PHP 连数据库时，我填了 MySQL 容器的名称 &lt;code&gt;db_mysql&lt;/code&gt;，结果死活报错：&lt;code&gt;Unknown MySQL server host 'db_mysql'&lt;/code&gt;。&lt;/p&gt;</description></item><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><item><title>手里的小鸡越来越多？部署 Uptime Kuma 给全员上探针</title><link>https://blog.moxuan.de/posts/uptime-kuma-server-monitoring/</link><pubDate>Fri, 05 Apr 2024 16:30:00 +0800</pubDate><guid>https://blog.moxuan.de/posts/uptime-kuma-server-monitoring/</guid><description>&lt;p&gt;&lt;strong&gt;为什么需要监控？&lt;/strong&gt;
最近沉迷在 NodeSeek 上捡垃圾，手里不知不觉攒了七八台各地的便宜 VPS。有些线路极其不稳定，动不动就掉线。平时要靠自己手动去 PING 看看死没死，效率太低。
为了解放自己，决定部署目前开源界最火的监控面板：Uptime Kuma。&lt;/p&gt;</description></item></channel></rss>