<?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%BD%91%E7%BB%9C%E6%8E%92%E9%9A%9C/</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>Sat, 14 Dec 2024 20:50:00 +0800</lastBuildDate><atom:link href="https://blog.moxuan.de/tags/%E7%BD%91%E7%BB%9C%E6%8E%92%E9%9A%9C/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></channel></rss>