64

Swarm基于多主机容器网络-overlay networks 梳理-眼眸刻着你的微笑-51CTO博客

 6 years ago
source link: http://blog.51cto.com/dengaosky/2069911
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前面介绍了Docker管理工具-Swarm部署记录,下面重点说下Swarm基于多主机容器通信的覆盖网络在Docker版本1.12之后swarm模式原生支持覆盖网络(overlay networks),可以先创建一个覆盖网络,然后启动容器的时候启用这个覆盖网络,这样只要是这个覆盖网络内的容器,不管在不在同一个宿主机上都能相互通信,即跨主机通信!不同覆盖网络内的容器组之间是相互隔离的(相互

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK