{"id":3530,"date":"2015-05-18T21:08:05","date_gmt":"2015-05-18T12:08:05","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=3530"},"modified":"2015-05-20T10:36:04","modified_gmt":"2015-05-20T01:36:04","slug":"centos6-6%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e3%81%ab%e5%9b%ba%e5%ae%9aip%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%82%92%e4%bb%98%e3%81%91%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a8%e5%90%8c","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/centos6-6%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e3%81%ab%e5%9b%ba%e5%ae%9aip%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%82%92%e4%bb%98%e3%81%91%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a8%e5%90%8c\/","title":{"rendered":"CentOS6.6\u3067Docker\u30b3\u30f3\u30c6\u30ca\u306b\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u3092\u4ed8\u3051\u30db\u30b9\u30c8\u3068\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u4f7f\u3046"},"content":{"rendered":"<h1>\u5b9f\u65bd\u3057\u305f\u3044\u4e8b<\/h1>\n<p>git\u4e0a\u306e\u8907\u6570\u30d6\u30e9\u30f3\u30c1\u3078\u306ePush\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u90fd\u5ea6\u30af\u30ea\u30fc\u30f3\u306a\u74b0\u5883\u3092\u4f5c\u6210\u3057\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3057\u305f\u3044\uff01<\/p>\n<p>\u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\u306e\u4e0d\u8db3\u3082\u3042\u308a\u3001\u73fe\u5728\u958b\u767a\u4e2d\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u304c1\u6642\u9593\u5f31\u639b\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u305f<br \/>\n\u53ca\u3073\u73fe\u72b6\u3067\u306f Develop \u30d6\u30e9\u30f3\u30c1\u306b\u3057\u304b \u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3092\u901a\u305b\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u6539\u5584\u3059\u308b\u3002<br \/>\n&nbsp;<br \/>\n2CPU\/16Thread \/ SSD RAID \u306e\u5f37\u529b\u30b9\u30da\u30c3\u30af\u306a\u30b5\u30fc\u30d0\u304c\u8ee2\u304c\u3063\u3066\u3044\u305f\u306e\u3067\u518d\u6d3b\u7528\u304c\u3066\u3089<br \/>\nDocker\u306e\u529b\u3092\u501f\u308a\u3066\u4e26\u5217\u3067\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u51fa\u6765\u308b\u74b0\u5883\u3092\u4f5c\u308b\u65b9\u91dd\u3068\u3057\u307e\u3057\u305f\u3002<br \/>\n&nbsp;<br \/>\n\u30db\u30b9\u30c8\u30b5\u30fc\u30d0\u3068\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u500b\u5225\u306eIP\u3092\u6301\u3064\u30b3\u30f3\u30c6\u30ca\u3092\u7acb\u3066\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c<br \/>\n\u6a19\u6e96\u3067\u306fIP\u30a2\u30c9\u30ec\u30b9\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u306a\u3044\u305f\u3081\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3044\u306e\u3067\u8272\u3005\u3068\u8a66\u3057\u3066\u307f\u305f\u7d50\u679c<br \/>\n\u81ea\u524d\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u3092\u3054\u308a\u3054\u308a\u3068\u884c\u3046\u65b9\u5f0f\u3067\u6210\u529f\u3057\u305f\u306e\u3067\u66f8\u304d\u7559\u3081\u307e\u3059\u3002<br \/>\n(\u5f53\u521d\u306fpipework\u3092\u5229\u7528\u3057\u3066\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u307e\u3057\u305f\u304c\u5931\u6557\/\u65ad\u5ff5)<br \/>\n&nbsp;<\/p>\n<h1>\u524d\u63d0\u6761\u4ef6<\/h1>\n<ul>\n<li>Docker\u306f\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3068\u3057\u307e\u3059<\/li>\n<li>\u30db\u30b9\u30c8\u30b5\u30fc\u30d0\u306b\u306f NIC\u304c\u4e00\u679a\u3067eth0 \u306b\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u63a5\u7d9a\u3057\u3066\u3044\u308b\u72b6\u614b\u3068\u3057\u307e\u3059<br \/>\n&nbsp;<br \/>\nOS     : CentOS 6.6<br \/>\nDocker : 1.5<br \/>\n\u3092\u5229\u7528\u3057\u307e\u3057\u305f<br \/>\n&nbsp;<\/li>\n<\/ul>\n<h1>\u4f5c\u6210\u3059\u308b\u74b0\u5883<\/h1>\n<a href=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/05\/Docker_network.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/05\/Docker_network.png\" alt=\"Docker_network\" width=\"445\" height=\"366\" class=\"aligncenter size-full wp-image-3561\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/05\/Docker_network.png 445w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/05\/Docker_network-300x247.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/a>\n<h2>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/h2>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af     : 172.16.0.0\/16<br \/>\n\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4     : 172.16.255.254<br \/>\n\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8 : 172.16.255.255<\/p>\n<h2>\u30db\u30b9\u30c8\u30b5\u30fc\u30d0\u306eIP<\/h2>\n<p>\u30db\u30b9\u30c8\u30b5\u30fc\u30d0     : 172.16.21.110<\/p>\n<h2>\u30b3\u30f3\u30c6\u30ca\u30b5\u30fc\u30d0\u306eIP<\/h2>\n<p>\u30b3\u30f3\u30c6\u30ca\u30b5\u30fc\u30d01  : 172.16.21.111<br \/>\n\u30b3\u30f3\u30c6\u30ca\u30b5\u30fc\u30d02  : 172.16.21.112<br \/>\n...<br \/>\n&nbsp;<\/p>\n<h1>\u4f5c\u696d\u624b\u9806<\/h1>\n<h2>Docker\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3092\u8ffd\u52a0 &amp; \u30ea\u30b9\u30bf\u30fc\u30c8<\/h2>\n<p>Docker\u30b5\u30fc\u30d3\u30b9\u8d77\u52d5\u6642\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3066\u30b3\u30f3\u30c6\u30ca\u30a8\u30f3\u30b8\u30f3\u3092LXC\u306b\u3059\u308b<br \/>\n\u307e\u305f\u8ffd\u52a0\u3067\u30d6\u30ea\u30c3\u30b8\u3092\u4f5c\u6210\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p>\/etc\/sysconfig\/docker \u306e other_args\u6307\u5b9a\u306b \"-e lxc -b none\" \u3092\u8ffd\u52a0<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nother_args=&quot;-H tcp:\/\/0.0.0.0:4243 -H unix:\/\/\/var\/run\/docker.sock -e lxc -b none&quot;\n<\/pre>\n<p>docker \u30b5\u30fc\u30d3\u30b9\u306e\u30ea\u30b9\u30bf\u30fc\u30c8<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# \/etc\/init.d\/docker restart\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u3092\u5909\u66f4<\/h2>\n<h3>br0\u306e\u8a2d\u5b9a (\u65b0\u898f\u4f5c\u6210)<\/h3>\n<p>\u4e0b\u8a18\u30d1\u30b9\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<br \/>\n\/etc\/sysconfig\/network-scripts\/ifcfg-br0<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nDEVICE=br0\nNM_CONTROLLED=no\nONBOOT=yes\nTYPE=Bridge\nBOOTPROTO=static\nIPADDR=172.16.21.110\nGATEWAY=172.16.255.254\nBROADCAST=172.16.255.255\nNETMASK=255.255.0.0\nDNS1=8.8.8.8\n<\/pre>\n<h3>eth0\u306e\u8a2d\u5b9a<\/h3>\n<p>\u4e0b\u8a18\u30d1\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6<br \/>\n\/etc\/sysconfig\/network-scripts\/ifcfg-eth0<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nDEVICE=eth0\nNM_CONTROLLED=no\nONBOOT=yes\nTYPE=Ethernet\nBRIDGE=br0\n<\/pre>\n<h3>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u518d\u8d77\u52d5&amp;\u78ba\u8a8d<\/h3>\n<p>br0 \u304c\u4f5c\u6210\u3055\u308c eth0 \u3068\u7d10\u4ed8\u3044\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# \/etc\/init.d\/network restart\n\n# ifconfig\nbr0       Link encap:Ethernet  HWaddr ...\n          inet addr:172.16.21.110  Bcast:172.16.255.255  Mask:255.255.0.0\n          inet6 addr: fe80::221:9bff:fea5:a297\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:379681 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:4779 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:0\n          RX bytes:32676144 (31.1 MiB)  TX bytes:1730384 (1.6 MiB)\n\neth0      Link encap:Ethernet  HWaddr ...\n          inet6 addr: fe80::221:9bff:fea5:a297\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:419019 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:31747 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:91575640 (87.3 MiB)  TX bytes:3767051 (3.5 MiB)\n\nlo        Link encap:Local Loopback\n          inet addr:127.0.0.1  Mask:255.0.0.0\n          inet6 addr: ::1\/128 Scope:Host\n          UP LOOPBACK RUNNING  MTU:65536  Metric:1\n          RX packets:19 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:0\n          RX bytes:2026 (1.9 KiB)  TX bytes:2026 (1.9 KiB)\n\n# brctl show\nbridge name     bridge id               STP enabled     interfaces\nbr0             8000.00219ba5a297       no              eth0\n\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u78ba\u8a8d\u9805\u76ee<\/h2>\n<h2>\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8a2d\u5b9a\u306e\u78ba\u8a8d<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# cat \/proc\/sys\/net\/ipv4\/ip_forward\n1\n<\/pre>\n<p>1\u3067\u306a\u3051\u308c\u3070 \/etc\/sysctl.conf \u306e net.ipv4.ip_forward = 1 \u3068\u3057\u3066\u4fdd\u5b58 &amp; \u518d\u8d77\u52d5<\/p>\n<h2>iptables\u30b5\u30fc\u30d3\u30b9\u306e\u52d5\u4f5c\u72b6\u614b\u78ba\u8a8d<\/h2>\n<p>iptables\u30b5\u30fc\u30d3\u30b9\u306e\u81ea\u52d5\u8d77\u52d5\u304c\u7121\u52b9\u3067\u3042\u308b\u4e8b\u3092\u78ba\u8a8d<br \/>\n\u53ca\u3073\u4e0b\u8a18\u9805\u76ee\u304c 0\u3067\u3042\u308b\u4e8b\u3092\u78ba\u8a8d<br \/>\n\u203b\u8d77\u52d5\u3057\u3066\u3044\u305f\u3089\u843d\u3068\u3059<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# chkconfig --list | grep tables\nip6tables       0:off   1:off   2:off   3:off   4:off   5:off   6:off\niptables        0:off   1:off   2:off   3:off   4:off   5:off   6:off\n\n# sysctl -p \/etc\/sysctl.conf | grep tables\nnet.bridge.bridge-nf-call-ip6tables = 0\nnet.bridge.bridge-nf-call-iptables = 0\nnet.bridge.bridge-nf-call-arptables = 0\n...\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>Docker\u30b3\u30f3\u30c6\u30ca\u306e\u8d77\u52d5<\/h2>\n<h3>\u30b3\u30f3\u30c6\u30ca\u30b5\u30fc\u30d01\u306e\u8d77\u52d5<\/h3>\n<pre>\ndocker run -i -t \\\n  \\\n  --net=none \\\n  --lxc-conf='lxc.network.type=veth' \\\n  --lxc-conf='lxc.network.ipv4=172.16.21.111\/16' \\\n  --lxc-conf='lxc.network.ipv4.gateway=172.16.255.254' \\\n  --lxc-conf=\"lxc.network.link=br0\" \\\n  --lxc-conf='lxc.network.name=eth0' \\\n  --lxc-conf='lxc.network.flags=up' \\\n  [\u8d77\u52d5\u3057\u305f\u3044\u30a4\u30e1\u30fc\u30b8\u540d] \/bin\/bash\n<\/pre>\n<h3>\u30b3\u30f3\u30c6\u30ca\u30b5\u30fc\u30d02\u306e\u8d77\u52d5<\/h3>\n<pre>\ndocker run -i -t \\\n  \\\n  --net=none \\\n  --lxc-conf='lxc.network.type=veth' \\\n  --lxc-conf='lxc.network.ipv4=172.16.21.112\/16' \\\n  --lxc-conf='lxc.network.ipv4.gateway=172.16.255.254' \\\n  --lxc-conf=\"lxc.network.link=br0\" \\\n  --lxc-conf='lxc.network.name=eth0' \\\n  --lxc-conf='lxc.network.flags=up' \\\n  [\u8d77\u52d5\u3057\u305f\u3044\u30a4\u30e1\u30fc\u30b8\u540d] \/bin\/bash\n<\/pre>\n<h3>\u30b3\u30f3\u30c6\u30ca\u52d5\u4f5c\u72b6\u614b\u78ba\u8a8d<\/h3>\n<p>docker run \u5b9f\u884c\u6642\u306b\u6307\u5b9a\u3057\u305f IP\u30a2\u30c9\u30ec\u30b9\u304c\u4ed8\u3044\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# docker attach &#x5B;CONTAINER ID]\n\n# ps axufww\nUSER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\nroot         1  0.0  0.0  14728  1900 ?        S    02:17   0:00 \/bin\/bash\nroot        83  0.0  0.0 177340  3860 ?        Ss   02:20   0:00 \/usr\/sbin\/httpd\napache      85  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      86  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      87  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      88  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      89  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      90  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      91  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\napache      92  0.0  0.0 177340  2472 ?        S    02:20   0:00  _ \/usr\/sbin\/httpd\nroot        93  0.0  0.0  16624  1068 ?        R+   02:20   0:00 ps axufww\n\n# ifconfig\neth0      Link encap:Ethernet  HWaddr ...\n          inet addr:172.16.21.112  Bcast:172.16.255.255  Mask:255.255.0.0\n          inet6 addr: fe80::a46d:79ff:fe20:ea7e\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:1668 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:222716 (217.4 KiB)  TX bytes:468 (468.0 b)\n\nlo        Link encap:Local Loopback\n          inet addr:127.0.0.1  Mask:255.0.0.0\n          inet6 addr: ::1\/128 Scope:Host\n          UP LOOPBACK RUNNING  MTU:65536  Metric:1\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:0\n          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)\n<\/pre>\n<h3>\u30db\u30b9\u30c8\u52d5\u4f5c\u72b6\u614b\u78ba\u8a8d<\/h3>\n<h4>docker ps<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# docker ps\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\n7baceac4e139        kouzu\/centos6:latest    &quot;\/bin\/bash&quot;         25 seconds ago      Up 25 seconds                           sharp_einstein\n8a6311dbdbb0        kouzu\/centos6:latest    &quot;\/bin\/bash&quot;         About an hour ago   Up About an hour                        determined_heisenberg\n<\/pre>\n<h4>ifconfig<\/h4>\n<p>Docker\u30b3\u30f3\u30c6\u30ca\u3092\u65b0\u3057\u304fup\u3059\u308b\u5ea6\u306b\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u306eeth0\u3068\u7d10\u4ed8\u3044\u3066\u3044\u308bveth\u304c\u5897\u3048\u3066\u3044\u304d\u307e\u3059<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# ifconfig\nbr0       Link encap:Ethernet  HWaddr ...\n          inet addr:172.16.21.110  Bcast:172.16.255.255  Mask:255.255.0.0\n          inet6 addr: fe80::221:9bff:fea5:a297\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:438360 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:5828 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:0\n          RX bytes:38694111 (36.9 MiB)  TX bytes:1897818 (1.8 MiB)\n\neth0      Link encap:Ethernet  HWaddr ...\n          inet6 addr: fe80::221:9bff:fea5:a297\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:477782 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:32808 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:98662682 (94.0 MiB)  TX bytes:3942965 (3.7 MiB)\n\nlo        Link encap:Local Loopback\n          inet addr:127.0.0.1  Mask:255.0.0.0\n          inet6 addr: ::1\/128 Scope:Host\n          UP LOOPBACK RUNNING  MTU:65536  Metric:1\n          RX packets:19 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:0\n          RX bytes:2026 (1.9 KiB)  TX bytes:2026 (1.9 KiB)\n\nvethI9CBVQ Link encap:Ethernet  HWaddr ...\n          inet6 addr: fe80::fcc7:94ff:feb9:ee9f\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:6 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:45980 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:468 (468.0 b)  TX bytes:5306478 (5.0 MiB)\n\nvethS26JTK Link encap:Ethernet  HWaddr ...\n          inet6 addr: fe80::fc57:a1ff:fee8:4ba\/64 Scope:Link\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:6 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:860 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:468 (468.0 b)  TX bytes:92100 (89.9 KiB)\n<\/pre>\n<h3>\u30db\u30b9\u30c8\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u898b\u305f\u30b3\u30f3\u30c6\u30ca\u306e\u52d5\u4f5c\u72b6\u6cc1<\/h3>\n<p>\u4e0a\u8a18\u3092\u884c\u3046\u4e8b\u3067\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u304b\u3089\u30b3\u30f3\u30c6\u30ca\u3001\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u3001\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u5916\u90e8\u3001\u5916\u90e8\u304b\u3089\u30b3\u30f3\u30c6\u30ca<br \/>\n\u5168\u3066\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u758e\u901a\u3092\u884c\u3046\u4e8b\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n<p>\u53c2\u8003\u307e\u3067\u306b\u305d\u308c\u305e\u308c\u306e\u30b3\u30f3\u30c6\u30ca\u5185\u306b httpd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u8d77\u52d5\u3059\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n...\n1906  0.0  0.1 978756 23736 ?        Sl   19:11   0:02 \/usr\/bin\/docker -d -H tcp:\/\/0.0.0.0:4243 -H unix:\/\/\/var\/run\/docker.sock -e lxc -b none\n2681  0.0  0.0  23324  1284 pts\/1    Ss   19:50   0:00  _ lxc-start -n 67ea4518852b068ee3db87285b582396e51f28a111f806009895b51c2c0f33ec -f \/var\/lib\/docker\/containers\/67ea4518852b068ee3db87285b582396e51f28a111f806009895b51c2c0f33ec\/config.lxc -- \/.dockerinit -mtu 1500 -- \/bin\/bash\n2689  0.0  0.0  14728  1908 pts\/1    S+   19:50   0:00  |   _ \/bin\/bash\n2821  0.0  0.0 177340  3860 ?        Ss   19:51   0:00  |       _ \/usr\/sbin\/httpd\n2823  0.0  0.0 177476  3068 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2824  0.0  0.0 177476  3068 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2825  0.0  0.0 177476  3068 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2826  0.0  0.0 177476  3068 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2827  0.0  0.0 177476  3068 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2828  0.0  0.0 177340  2472 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2829  0.0  0.0 177340  2472 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2830  0.0  0.0 177340  2472 ?        S    19:51   0:00  |           _ \/usr\/sbin\/httpd\n2874  0.0  0.0  23324  1284 pts\/3    Ss   19:51   0:00  _ lxc-start -n f70b347e58489b5239f6fc6bd49e32189ecdf2bc81385bfdbb1bc6e933f16ca4 -f \/var\/lib\/docker\/containers\/f70b347e58489b5239f6fc6bd49e32189ecdf2bc81385bfdbb1bc6e933f16ca4\/config.lxc -- \/.dockerinit -mtu 1500 -- \/bin\/bash\n2882  0.0  0.0  14728  1904 pts\/3    S+   19:51   0:00      _ \/bin\/bash\n3057  0.0  0.0 177340  3856 ?        Ss   19:54   0:00          _ \/usr\/sbin\/httpd\n3059  0.0  0.0 177476  3064 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3060  0.0  0.0 177476  3064 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3061  0.0  0.0 177476  3064 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3062  0.0  0.0 177476  3064 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3063  0.0  0.0 177340  2468 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3064  0.0  0.0 177340  2468 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3065  0.0  0.0 177340  2468 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n3066  0.0  0.0 177340  2468 ?        S    19:54   0:00              _ \/usr\/sbin\/httpd\n...\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u53c2\u8003\u306b\u3057\u305f\u8a18\u4e8b<\/h2>\n<p>\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3057\u305f\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li>\n<p>pipework\u3092\u4f7f\u308f\u305a\u306bDocker\u30b3\u30f3\u30c6\u30ca\u306b\u4efb\u610f\u306e\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u3092\u5272\u308a\u5f53\u3066\u308b<br \/>\n<a href=\"http:\/\/qiita.com\/yunano\/items\/456361aefb7a9935875f\">http:\/\/qiita.com\/yunano\/items\/456361aefb7a9935875f<\/a><\/p>\n<\/li>\n<li>\n<p>Docker\u30b3\u30f3\u30c6\u30ca\u3092\u30d6\u30ea\u30c3\u30b8\u63a5\u7d9a\u3067\u4f7f\u3046<br \/>\n<a href=\"http:\/\/www.agilegroup.co.jp\/technote\/docker-network-in-bridge.html\">http:\/\/www.agilegroup.co.jp\/technote\/docker-network-in-bridge.html<\/a><\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9f\u65bd\u3057\u305f\u3044\u4e8b git\u4e0a\u306e\u8907\u6570\u30d6\u30e9\u30f3\u30c1\u3078\u306ePush\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u90fd\u5ea6\u30af\u30ea\u30fc\u30f3\u306a\u74b0\u5883\u3092\u4f5c\u6210\u3057\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3057\u305f\u3044\uff01 \u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\u306e\u4e0d\u8db3\u3082\u3042\u308a\u3001\u73fe\u5728\u958b\u767a\u4e2d\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u304c1\u6642\u9593\u5f31\u639b\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u305f&#8230;<\/p>\n","protected":false},"author":2,"featured_media":3541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"3530","footnotes":""},"categories":[83,29,18],"tags":[94],"class_list":{"0":"post-3530","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-devops","8":"category-linux","9":"category-os","10":"tag-docker","11":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/3530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=3530"}],"version-history":[{"count":21,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/3530\/revisions"}],"predecessor-version":[{"id":3590,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/3530\/revisions\/3590"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/3541"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=3530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=3530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=3530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}