Unlock instant, AI-driven research and patent intelligence for your innovation.

Container starting method and device

A container and startup request technology, applied in program control devices, instruments, program control design, etc., can solve the problems of long download time of business images, inability to meet container startup, affecting container startup speed, etc., so as to reduce download content and download time. , The effect of reducing process initialization time and rapid deployment

Pending Publication Date: 2022-02-18
HUAWEI TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The startup time of the container mainly depends on the download time of the image and the time of business startup (or business initialization). In related technologies, the entire business image is pulled from the mirror warehouse and written to the disk of the local computer. The container is also large, so the download time of the business image is long, and the large-scale application requires a long time to start the business, which seriously affects the startup speed of the container, and cannot meet the requirements of container startup in serverless architecture or edge scenarios.

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
  • Container starting method and device
  • Container starting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The terms "first" and "second" in the description and claims in the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. The singular forms "a", "said" and "the" used in the embodiments of this application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0060] For ease of understanding, the following first introduces related terms and the like that may be involved in the embodiments of the present application.

[0061] (1) mirror image

[0062] Mirroring (Docker Image) is a form of file storage...

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 container starting method and device, and the method comprises the steps that a first server receives a container starting request, and the container starting request comprises a mirror image name of a service mirror image; the first server obtains auxiliary mirror images according to the mirror image names, wherein the auxiliary mirror images are in one-to-one correspondence with the service mirror images; the first server lazy loads part of information of the service mirror image based on the auxiliary mirror image so as to establish a process and a running environment of the process, and the part of information comprises necessary files needed when the container is started; the first server guides the process to run in the running environment based on the auxiliary mirror image so as to start the container. By implementing the embodiment of the invention, the initialization time of the process when the container is started can be saved, and the starting speed of the container is increased.

Description

technical field [0001] The application field of computer application technology, in particular, relates to a method and device for starting a container. Background technique [0002] In a computer system, a container is a virtualization of resources at the operating system level to isolate processes and resources. Due to the technical characteristics of container technology such as lightweight, high performance, resource saving, and cross-platform, the application range of containers is becoming wider and wider. A container has its own file system, CPU, and memory, which means that it can run independently like a virtual machine with fewer resources. [0003] Containers are generated based on images, and containers are running instances of images. The startup time of the container mainly depends on the download time of the image and the time of business startup (or business initialization). In related technologies, the entire business image is pulled from the mirror wareho...

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
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45575G06F2009/45562
Inventor 刘华李睿霖
Owner HUAWEI TECH CO LTD