<?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>Container on Wenhan blog</title>
    <link>https://wenhan.blog/zh/tags/container/</link>
    <description>Recent content in Container on Wenhan blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Thu, 01 Feb 2018 15:46:56 +0000</lastBuildDate><atom:link href="https://wenhan.blog/zh/tags/container/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>如何在OpenShift的容器/Pod内禁用IPv6</title>
      <link>https://wenhan.blog/zh/posts/20180201_how-to-disable-ipv6-inside-a-container-pod-in-openshift/</link>
      <pubDate>Thu, 01 Feb 2018 15:46:56 +0000</pubDate>
      
      <guid>https://wenhan.blog/zh/posts/20180201_how-to-disable-ipv6-inside-a-container-pod-in-openshift/</guid>
      <description>虽然OpenShift中的容器/Pod通过IPv4协议传输数据，通常无需关心IPv6的设置，但有时我们希望只在容器内禁用IPv6，而不影响其他容器/Pod或主机系统。
下面是容器中输出的IPv6信息示例：
1 2 3 4 5 6 7 8 9 10 11 12 13 [root@ocp37 ~]# oc exec django-ex-4-6gmsj -- ip a 1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 3: eth0@if45: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1450 qdisc noqueue state UP link/ether 0a:58:0a:80:00:24 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 10.</description>
    </item>
    
  </channel>
</rss>
