Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for cross-host docker container communication

A docker container, cross-host technology, applied in the field of Docker container communication

Active Publication Date: 2020-03-10
成都精灵云科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The combination of Calico and Docker Bridge makes up for the shortcomings of Calico in Docker, and solves the problem of Docker containers on different hosts communicating with each other, thus solving the problem of existing Docker containers in network communication

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for cross-host docker container communication
  • A method for cross-host docker container communication
  • A method for cross-host docker container communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the illustrations in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection scope of the present invention .

[0035] In order to facilitate the understanding of the present invention, first introduce the basic concepts:

[0036] Cloud Computing: The growth, usage, and delivery model of Internet-based related services, usually involving the provision of dynamically scalable and often virtualized resources over the Internet. Cloud computing in a narro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for inter-host Docker container communication, which is characterized in that it comprises the following steps: S1: creating a Docker container whose network mode is Docker Bridge; S2: adding a Calico network configuration to the Docker container; S3 : delete the default route of Calico in the Docker container; S4: add a policy route for the Calico-related route in the Docker container. The beneficial effect of the present invention is: the present invention adopts the development mode that combines Calico and Docker Bridge, makes up for the defect that Calico cannot map ports in Docker, solves the problem that Docker containers on different hosts communicate with each other at the same time, makes Docker container It can not only communicate with the external network, but also communicate with Docker containers on different hosts in the internal network.

Description

technical field [0001] The invention relates to a Docker container communication method, in particular to a cross-host Docker container communication method. Background technique [0002] Currently, existing container network solutions include tunneling solutions, routing solutions, CNM (Docker Libnetwork Container Network Model) camps, CNI (Container Network Interface) camps, and Calico. [0003] Among them, the tunnel solution is widely used in the network application of the LaaS layer, but the complexity will also increase with the increase of the node scale, which makes it more troublesome to track network problems, so the tunnel solution is not suitable for large-scale clusters; CNM includes Docker Swarm Overlay, Macvlan&IP network drivers, Calico, Contiv (from Cisco), the advantage of Docker Libnetwork is that it is native, and it is closely integrated with the life cycle of Docker containers. The disadvantage can also be understood as being "kidnapped" by Docker; CNI ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24H04L12/741H04L45/74
CPCH04L41/0803H04L45/54H04L45/745
Inventor 乔融晏东陈宏张行才
Owner 成都精灵云科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products