Cross-host container network communication configuration method, system and medium

The invention discloses a cross-host container network communication configuration method, a cross-host container network communication configuration system and a medium. The cross-host container network communication configuration method comprises the following steps: an automatic program in each h...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: TIAN HUJUN, CHEN BOHAN, YANG ZHAOJUN, WANG ZHEN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a cross-host container network communication configuration method, a cross-host container network communication configuration system and a medium. The cross-host container network communication configuration method comprises the following steps: an automatic program in each host completes Macvlan network configuration of a container according to a given configuration file; and the automatic program in each host enters a network namespace corresponding to the container, and a corresponding iptables rule is added according to a given configuration file to realize east-west isolated management and control of the container network under the same Macvlan network. According to the method, the problem that the steps of creating and configuring the container network are tedious is solved, the operation complexity is greatly reduced, the efficiency is improved, network isolation measures are further provided, east and west isolation can be performed on the container network, and the safety of t