Font Size: a A A

Design And Implementation Of Docker Network System Based On Macvlan

Posted on:2017-04-26Degree:MasterType:Thesis
Country:ChinaCandidate:M Z FengFull Text:PDF
GTID:2308330482481847Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Docker as the most popular container technology, has set off a wave of Docker boom in the field of cloud computing. Docker container has many advantages compared to the virtual machine, such as super high resource utilization, the speed of the start and stop. In addition, the convenient mirror structure and management mechanism is a major advantage of Docker container and features. These characteristics make the application can quickly build, release, upgrade, testing, etc., has become the developers and operators in the hands of the weapon. At the same time, the Docker container further blurring the boundaries between IaaS and PaaS, became the new favorites of each cloud computing vendors.However, Docker technology is not perfect. Its network is a big short board. First of all, the network mode of single host makes it have very big problem on the scale and the expansion, and the multi-host communication is one of the problems to be solved urgently. In addition, the Docker network only provides four simple network model, the lack of multi tenant network isolation, network QoS, service discovery and other functions, can not meet the production environment, the use of complex scenes.In view of the above problems, this paper proposes and implements a Docker container network system based on macvlan. The system is mainly composed of macvlan daemon and macvlan function module. macvlan function module area including Flat, DHCP, VLAN three major network modules as well as QoS and service discovery and other functions. The Flat network is used to solve the problem of the loss of performance of the multi-host communication and NAT. DHCP network enables the container to support the DHCP server. VLAN network provides two layers of isolation for multi tenant environment. QoS module to achieve the limit of the container bandwidth. Service discovery module implements the service discovery mechanism between Docker containers. macvlan daemon can handle the native Remote API Docker, so that the entire system can be seamlessly integrated with Docker daemon.The Docker network system based macvlan realized in this paper not only makes up for the various functional defects of the Docker itself, but also has a greater improvement in the transmission efficiency than the native network of Docker. At the same time, compared to the general use of the industry based on vSwitch overlay network system, the system has advantages in software dependence, ease of use and efficiency.
Keywords/Search Tags:Docker, Network virtualization, macvlan
PDF Full Text Request
Related items