Docker mirror distribution method, system, data gateway, and computer-readable storage medium

A data gateway and distribution system technology, applied in the field of shared computing, can solve problems such as the inability to meet the needs of massive distributed container services, and achieve the effect of saving bandwidth costs

Inactive Publication Date: 2019-03-19
SHENZHEN ONETHING TECH CO LTD
View PDF4 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the existing docker image distribution scheme cannot meet the needs of massive distributed container services

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
  • Docker mirror distribution method, system, data gateway, and computer-readable storage medium
  • Docker mirror distribution method, system, data gateway, and computer-readable storage medium
  • Docker mirror distribution method, system, data gateway, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0050] refer tofigure 1 As shown, the first embodiment of the present invention proposes a docker image distribution system.

[0051] In this embodiment, the docker image distribution system 1 includes a docker client 2 and a data gateway 3 , wherein the data gateway 3 communicates with a tracker (tracking) server 4 and a data sharing node 5 .

[0052] The docker client 2 is used to send a request for obtaining the docker image file to the local data gateway 3 after receiving an instruction to download the docker image file. The docker image contains three types of files: (1) mainfest file, which is the image index file, which saves the sha256 characteristic value of each layer and configuration file in the image; (2) imageconf file, which is the image configuration file; (3) mirrors each layer layer document. In order to avoid repeated downloads, the docker client 2 can check whether the manifest file exists locally according to the manifest file information in the docker im...

no. 2 example

[0064] refer to figure 2 As shown, the second embodiment of the present invention proposes a docker image distribution method, which is applied to the above-mentioned docker image distribution system 1 . In this embodiment, according to different requirements, figure 2 The order of execution of the steps in the flowcharts shown may be changed, and certain steps may be omitted. In addition, conventional processing steps related to shared computing can be included in the present invention according to actual application scenarios. The method includes:

[0065] S10, the docker client 2 sends a request for obtaining the docker image file to the local data gateway 3 according to the docker image file download instruction.

[0066] The docker image contains three types of files: (1) mainfest file, which is the image index file, which saves the sha256 characteristic value of each layer and configuration file in the image; (2) imageconf file, which is the image configuration file...

no. 3 example

[0077] refer to image 3 As shown, the third embodiment of the present invention proposes a docker image distribution method. In this embodiment, according to different requirements, image 3 The order of execution of the steps in the flowcharts shown may be changed, and certain steps may be omitted. In this embodiment, S20-S22 in the docker image distribution method are similar to S10-S12 in the second embodiment above, except that the method further includes S23.

[0078] S20, the docker client 2 sends a request for obtaining the docker image file to the local data gateway 3 according to the docker image file download instruction.

[0079] The docker image contains three types of files: (1) mainfest file, which is the image index file, which saves the sha256 characteristic value of each layer and configuration file in the image; (2) imageconf file, which is the image configuration file; (3) mirrors each layer layer document. In order to avoid repeated downloads, the dock...

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 docker mirror image distribution method. The method comprises the following steps: receiving a request for obtaining a docker mirror image file sent by a client; performing signature verification on the request; when the verification is passed, the available data sharing nodes are queried from the tracker server of the P2P network; establishing a P2P connection with at least one of the available data sharing nodes, downloading the docker image file, and sending the downloaded docker image file to the client. The invention also provides a docker mirror image distribution system, a docker mirror image distribution processing system, a data gateway and a computer-readable storage medium. The docker image distribution method and the corresponding system, the data gateway and the computer-readable storage medium provided by the invention can realize the docker image distribution with high efficiency and low cost in the container service.

Description

technical field [0001] The invention relates to the technical field of shared computing, in particular to a docker image distribution method and system, a data gateway, and a computer-readable storage medium. Background technique [0002] At present, docker (application container engine) is widely used in enterprises and public cloud services. As an important part of container services, docker image warehouse and docker image distribution are undoubtedly one of the key links that affect the overall service quality. In enterprise and public cloud services, the service objects of docker mirror warehouses are generally in the order of several thousand to tens of thousands, and most of them are distributed through intranet or private line, so the bandwidth cost and distribution speed are acceptable. However, with the development of container services, when the docker mirror warehouse needs to support the distribution of docker images with millions of nodes, and all nodes are in ...

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 Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/4557
Inventor 蒋海明
Owner SHENZHEN ONETHING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products