In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What is the docker container relationship topology? To study docker clusters, you must first be familiar with the network topology in the docker container. Docker supports the network function of the container through the network driver (network drivers). Docker provides two network drivers-bridge and overlay drivers. Of course, you can also create your own network drivers.
Run the command and run a ubuntu container. The topology is as follows
Where docker_gwbridge is the bridge used in swarm clustering.
Linux container uses something called veth, which is a new device built specifically for container.
Veth is an acronym for Virtual ETHernet in terms of name, and its purpose is simply to forward packets sent from one network namespace to another namespace. Veth devices are paired, one in container and the other outside container, that is, what can be seen on a real machine.
VETH devices always appear in pairs, and the data requested by one side always appears in the form of request acceptance from the other. Once created and configured correctly, input data to one end, VETH will change the direction of the data and send it into the kernel network subsystem, complete the injection of data, and the data can be read at the other end.
(Namespace, in which data sent by RX to either end of the veth device is sent as TX on the other end.) veth works at the L2 data link layer, and the veth-pair device does not tamper with the contents of the packet in the process of forwarding the packet.
The container cloud is realized by deploying container services on cluster servers through docker technology, with tens of thousands of Linux images, powerful, lightweight and flexible, can be easily used as cluster services, and VPCs can be built freely and easily.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.