Container starting method and device, computer equipment and storage medium

A computer program and container technology, applied in the field of cloud computing, can solve the problems of accelerating the startup speed of containers, the inability to download images quickly from image warehouses, and the time-consuming cold startup, so as to achieve the effect of improving the speed of cold startup.

Pending Publication Date: 2022-08-05
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the production environment, the cold start of the container often takes several minutes, and as the scale expands, the image warehouse will not be able to download the image quickly due to network congestion in the cluster.
[0004] In order to speed up container startup, there are three traditional solutions: image caching, preloading, and image size reduction. However, preloading can only alleviate the delay of some images, and reducing the image size cannot avoid the need to use large In the case of volumetric mirroring
The current traditional method has the problem of long time-consuming cold start

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
  • Container starting method and device, computer equipment and storage medium
  • Container starting method and device, computer equipment and storage medium
  • Container starting method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the related drawings. Embodiments of the present application are presented in the accompanying drawings. However, the application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are for the purpose of describing specific embodiments only, and are not intended to limit the application.

[0042] It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, bu...

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 relates to a container starting method and device, computer equipment and a storage medium. The container starting method comprises the following steps: in response to binding of a container to a working node, monitoring whether a mirror image corresponding to the container exists on the working node or not; if it is monitored that no mirror image exists on the working node, a daemon process is started, and a mirror image pulling task is issued to a container running assembly through the daemon process; wherein the mirror image pulling task is used for indicating the container running component to pull a mirror image from a far-end mirror image warehouse to a working node; and in response to issuing of the mirror image pulling task, creating a target directory on the working node, and mounting the mirror images in the remote mirror image warehouse to the target directory to indicate the container to read the mirror images from the remote mirror image warehouse based on the target directory so as to complete container starting. The problem of long consumed time of cold start can be solved.

Description

technical field [0001] The present application relates to the field of cloud computing technologies, and in particular, to a container startup method, apparatus, computer equipment and storage medium. Background technique [0002] With the explosion of Kubernetes and cloud-native technologies, the large-scale application of containers in enterprises has become more and more extensive. Fast deployment and startup is one of the core advantages of containers. Fast startup here means that the instantiation time of the local image is very short, that is, the "hot startup" time is short. However, for "cold start", that is, in the case of no local image, you need to download the image from the image repository before creating the container. [0003] At present, after long-term maintenance and update of business images, both the number of image layers and the overall size will reach a large order of magnitude, such as hundreds of MB or several GB. Therefore, in the production envi...

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/445G06F8/61
CPCG06F9/44505G06F8/63
Inventor 许明珍周晓庆沈一帆
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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