Container mirror image construction method and device, storage medium and electronic equipment

A construction method and image technology, applied in the field of cloud computing, can solve the problems of large image size, long time to start the container, inconvenient storage, etc., and achieve the effect of reducing the size, reducing the creation time, and being easy to save.

Pending Publication Date: 2020-11-20
江苏安超云软件有限公司
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiments of the present invention provide a container image construction method, device, storage medium, and electronic equipment to so

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 mirror image construction method and device, storage medium and electronic equipment
  • Container mirror image construction method and device, storage medium and electronic equipment
  • Container mirror image construction method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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 drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0029] As mentioned in the background technology, the existing container image creation process, such as Docker-based container technology, is realized through the communication process between the user or client and the Docker host, that is, the Docker host receives the image creation instruction from the user or client , based on the image building ins...

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 mirror image construction method and device, a storage medium and electronic equipment. The method comprises the steps of obtaining a basic mirror image and a source code packet; and compiling the basic mirror image and the source code packet according to the mounted compiling toolkit and compiling software to obtain a service mirror image containing the basic mirror image and the source code packet. By implementing the method and the device, only the basic mirror image and the source code packet are compiled during mirror image compilation; meanwhile, a compiling toolkit can be installed on a compiled host server in advance, compiling software can be stored; when the basic mirror image serves as a container to be started, a catalogue where the compilingtoolkit is installed and a catalogue where the compiling software is stored are mounted to the container, then codes in the source code package are copied into the container to be installed, and compiling of the mirror image can be completed. Therefore, the compiled mirror image only comprises the basic mirror image and the source code packet, so that the service mirror image is relatively smallin size and easy to store, and the container creation time can be greatly shortened when the service mirror image is used as the container to be started.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, and in particular to a container image construction method, device, storage medium and electronic equipment. Background technique [0002] A container image is a special file system obtained by standardized packaging of the application code and its operating environment, which can run directly on any operating system with containers installed. Containers are a unified platform for building, distributing, and running applications, and are used to automate the installation, deployment, and upgrade of applications. Since the container image provides various resources required by the container to run, it is the basis for the container to run. Therefore, before the automatic deployment of the application based on the container technology, it is necessary to build the container image of the application. [0003] At present, when building a container image, the following methods are mai...

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/455G06F8/41G06F8/30
CPCG06F8/315G06F8/41G06F9/45558G06F2009/45562G06F2009/45575
Inventor 吴业亮朱正东
Owner 江苏安超云软件有限公司
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