<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《理解Docker容器端口映射》的评论</title>
	<atom:link href="http://tonybai.com/2016/01/18/understanding-binding-docker-container-ports-to-host/feed/" rel="self" type="application/rss+xml" />
	<link>https://tonybai.com/2016/01/18/understanding-binding-docker-container-ports-to-host/</link>
	<description>一个程序员的心路历程</description>
	<lastBuildDate>Wed, 25 Mar 2026 09:21:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>作者：marcus</title>
		<link>https://tonybai.com/2016/01/18/understanding-binding-docker-container-ports-to-host/#comment-7175</link>
		<dc:creator>marcus</dc:creator>
		<pubDate>Mon, 09 Apr 2018 08:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1938#comment-7175</guid>
		<description>博主用的是 从宿主机上访问10.10.126.101:12580
另外，宿主机上访问127.0.0.1:12580 能否成功？？
我测试下来OUTPUT链的DNAT进去了，但是包没有重新路由到bridge上，从iptables上能否解释原因？？</description>
		<content:encoded><![CDATA[<p>博主用的是 从宿主机上访问10.10.126.101:12580<br />
另外，宿主机上访问127.0.0.1:12580 能否成功？？<br />
我测试下来OUTPUT链的DNAT进去了，但是包没有重新路由到bridge上，从iptables上能否解释原因？？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2016/01/18/understanding-binding-docker-container-ports-to-host/#comment-7163</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Sat, 31 Mar 2018 13:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1938#comment-7163</guid>
		<description>不是虚机哦，是物理机哦。ubuntu desktop版，自然可以安装wireshark啊。</description>
		<content:encoded><![CDATA[<p>不是虚机哦，是物理机哦。ubuntu desktop版，自然可以安装wireshark啊。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：zack</title>
		<link>https://tonybai.com/2016/01/18/understanding-binding-docker-container-ports-to-host/#comment-7162</link>
		<dc:creator>zack</dc:creator>
		<pubDate>Sat, 31 Mar 2018 10:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1938#comment-7162</guid>
		<description>187与101应该是两台虚机，这两台虚机通信TCP信息，你是怎么能用wireshark抓包的呢，wireshark应该是装在windows宿主机上的吧，莫非你在ubuntu上面装的wireshark，那为什么会有图形界面，难道是你的ubuntu是图形界面吗？？</description>
		<content:encoded><![CDATA[<p>187与101应该是两台虚机，这两台虚机通信TCP信息，你是怎么能用wireshark抓包的呢，wireshark应该是装在windows宿主机上的吧，莫非你在ubuntu上面装的wireshark，那为什么会有图形界面，难道是你的ubuntu是图形界面吗？？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：picat</title>
		<link>https://tonybai.com/2016/01/18/understanding-binding-docker-container-ports-to-host/#comment-1364</link>
		<dc:creator>picat</dc:creator>
		<pubDate>Thu, 16 Jun 2016 03:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://tonybai.com/?p=1938#comment-1364</guid>
		<description>你好,请问以下这条究竟是什么用?从来没见过MASQUERADE指定了-d的情况,而且源和目的都是同一个,应该不经过POSTROUTING链啊,在你的log中也没有发现针对这条的log,个人认为这条似乎没有任何用处,对iptables不算很熟悉,能解答一下这个疑问吗?十分感谢.Chain POSTROUTING (policy ACCEPT 24 packets, 1472 bytes) pkts bytes target     prot opt in     out     source               destination    0     0 MASQUERADE  tcp  --  *      *       172.17.0.4           172.17.0.4           tcp dpt:12580</description>
		<content:encoded><![CDATA[<p>你好,请问以下这条究竟是什么用?从来没见过MASQUERADE指定了-d的情况,而且源和目的都是同一个,应该不经过POSTROUTING链啊,在你的log中也没有发现针对这条的log,个人认为这条似乎没有任何用处,对iptables不算很熟悉,能解答一下这个疑问吗?十分感谢.Chain POSTROUTING (policy ACCEPT 24 packets, 1472 bytes) pkts bytes target     prot opt in     out     source               destination    0     0 MASQUERADE  tcp  &#8212;  *      *       172.17.0.4           172.17.0.4           tcp dpt:12580</p>
]]></content:encoded>
	</item>
</channel>
</rss>
