- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 容器跨主机通信之NAT
NAT分为DNAT和SNAT,更多看:http://blog.daocloud.io/docker-bridge/默认情况下,容器可以主动访问到外部网络的连接,但是外部网络无法访问到容器。1,container -- > outside容器所有到外部网络的连接,源地址都会被NAT成本地系统的IP地址。这是使用 iptables 的源地址伪装操作实现的。$ s
2017-03-22 11:07:53
1030
原创 容器跨主机通信之docker default overlay
default docker overlay基于libnetwork和libkv,这里使用etcd作为key value storeVM1: 129.107.126.123VM2: 129.107.126.142container c1放在vm1上,container c2放在vm2上。etcd放在vm1上。vm1和vm2加入一个overlay网络。1, run e
2017-03-22 11:07:05
890
原创 容器跨主机通信之weave
Weave github: https://github.com/weaveworks/weave关于weave原理的描述:Weave creates a network bridge on the host. Each container is connected to that bridge via a veth pair, the container side of wh
2017-03-22 11:05:51
1753
原创 容器跨主机通信之flannel
VM1: 129.107.126.123VM2: 129.107.126.1421, install etcd and execute iton VM1$ etcd -initial-advertise-peer-urls http://VM1-IP:2380 \ -listen-peer-urls http://VM1-IP:2380 \
2017-03-22 03:33:04
2069
原创 容器跨主机通信之Calico
1,Difficulties with traditional overlay networkshttps://www.projectcalico.org/learn/Traditional virtual infrastructures have offered a LAN-like (Layer 2) experience to users configuring mult
2017-03-22 03:28:40
7718
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人