Docker container building method and Docker management console

A technology of management console and construction method, applied in the field of Docker container construction method and Docker management console, can solve the problems of occupying disk space, changing files, wasting storage resources, etc., so as to reduce the number, improve work efficiency, and save The effect of storing resources

Active Publication Date: 2016-12-14
深圳市中润四方信息技术有限公司
View PDF4 Cites 57 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] 1. The Docker image level limit cannot exceed 127 layers. Therefore, the number of image layers for compiling a new image version is limited. If more than 127 layers need to be merged, due to the large number of image layers, the operations performed by each layer are complicated. There are many files that cause changes. When merging mirror layers, it will be extremely time-consuming and inefficient to compare each layer with the previous layer files;
[0011] 2. When updating the Docker image, it is necessary to compare the level information of the image each time, and whether each image layer in the image warehouse exists on the container host. The more image levels, the more time-consuming the corresponding comparison;
[0012] 3. Each mirror layer needs to occupy a certain amount of disk space, and the mirror layer is inherited in a tree structure, so not every file in the mirror layer is necessary, resulting in the storage resources of the mirror warehouse server and container host waste;
[0013] The above three shortcomings lead to low work efficiency of the Docker container platform system deployed in clusters and waste of storage resources

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 container building method and Docker management console
  • Docker container building method and Docker management console
  • Docker container building method and Docker management console

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The present invention provides a Docker image construction method and a Docker management console, which are used to add layer-by-layer instructions in the image-build script, so that in the process of building a Docker image, multiple image layers can be merged according to the layer-by-layer instructions, thereby The number of Docker image levels and the data volume of image files are reduced, which improves work efficiency and saves storage resources.

[0066] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by pe...

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 container building method and a Docker management console. By adding a layer combining instruction into an image building script, combining of multiple image layers can be realized according to the layer combining instruction in the process of Docker image building, so that number of Docker image levels and data size of an image file are reduced, working efficiency is improved, and storage resources are saved. The method includes: acquiring a related application file and an image building script of an application, wherein the image building script contains a layer combining instruction; performing image compiling on the related application file according to the image building script to acquire a Docker image layer; if a current instruction is the layer combining instruction, acquiring an image file of a current image layer in the Docker image layer, and acquiring an image file of a target image layer corresponding to a target image layer identity; acquiring a difference file according to the image file of the current image layer and the image file of the target image layer, and building a layer-combined image layer according to the difference file; submitting the layer-combined image layer to an image repository.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a Docker container construction method and a Docker management console. Background technique [0002] In computers, virtualization (Virtualization) is a resource management technology that abstracts and transforms various physical resources of computers, such as servers, networks, memory, and storage, to break the inseparability of physical structures. barriers, so that users can use these resources in a better way than the original configuration. The new virtual portion of these resources is independent of how existing resources are set up, geographically or physically configured. Generally referred to virtual resources include computing power and storage capacity. In the actual production environment, virtualization technology is mainly used to solve the overcapacity of high-performance physical hardware and the reorganization and reuse of old hardware with low capacity, an...

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/45533
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