15

Docker容器的网络管理和网络隔离-:努力变好

 3 years ago
source link: https://blog.51cto.com/14156658/2495935
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网络的管理1、Docker容器的方式1)Docker访问外网Docker容器连接到宿主机的Docker0网桥访问外网;默认自动将docker0网桥添加到docker容器中。2)容器和容器之间通信需要管理员创建网桥;将不同的容器连接到网桥上实现容器和容器之间相互访问。3)外部网络访问容器通过端口映射或者同步docker宿主机网络配置实现通信。2、Docker容器网络通信的模式1)br

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK