Container mirror image processing method and device, computer equipment and storage medium

A processing method and mirroring technology, which is applied in the computer field, can solve problems such as no reduction, increased maintenance and operation costs, and increased operation and maintenance update costs, and achieve the effects of reducing the size of image files, improving function speed, and accelerating distribution speed

Pending Publication Date: 2019-11-05
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above two methods have different characteristics and bring about different problems and deficiencies: the first method can reduce the size of a single image by dismantling the image, but the overall image size has not been reduced. When high concurrency occurs During the pull operation, since the overall image size does not decrease, the pressure on network resources is equal, which does not fundamentally solve the problem of image distribution; at the same time, the maintenance and operation and maintenance costs of the image also increase, and need to be maintained at the same time Multiple mirrors, when encountering the mirror function update scenario, the operation and maintenance update cost will increase exponentially compared with before; the second method of mounting through the network file system can reduce the size of the mirror, but the problem is that, When users use the corresponding functions in the image, they change from accessing the local disk to accessing the remote network file system. Due to the delay of network transmission, the user experience will be degraded

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0024] With the sweeping tide of enterprise digitalization, container technology is changing the infrastructure structure of the industry like a storm, and industry applications are evolving towards micro-service architecture, and business management is optimized through cloud-based platforms. In order to obtain more efficient cloud services, container technology has been widely supported by the industry since its birth. Through excellent isolation technology, containers can provide support for different applications by starting ...

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 processing method and device, computer equipment and a storage medium. The method comprises the steps of acquiring required file information used for generating a container mirror image, and constructing a complete mirror image according to the required file information; determining a to-be-deleted specified directory in the complete mirror image, and compressing the complete mirror image based on the to-be-deleted specified directory to obtain a compressed mirror image; obtaining directory content of a to-be-deleted specified directory, and generating to-be-mounted content based on the to-be-deleted directory content; and storing the to-be-mounted content to a block device file system, and mounting the compressed mirror image to the block device file system. According to the method, a specified directory in a constructed complete mirror image is deleted to compress the mirror image. The deleted directory content of the specified directory is used as the to-be-mounted content to be stored in the block device file system, and the compressed mirror image is mounted to the block device file system, so that the size of the to-be-distributed mirror image file is reduced, and the distribution speed of the container mirror image is increased.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a container image processing method, device, computer equipment and computer-readable storage medium. Background technique [0002] With the sweeping tide of enterprise digitalization, container technology is changing the infrastructure structure of the industry like a storm, and industry applications are evolving towards micro-service architecture, and business management is optimized through cloud-based platforms. In order to obtain more efficient cloud services, container technology has been widely supported by the industry since its birth. Through excellent isolation technology, containers can provide support for different applications by starting different runtimes. However, in practical applications, with the rapid growth of image size and the increase in the number of different images, image distribution in a container environment has gradually become a key issu...

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): G06F11/20G06F16/172G06F16/174G06F16/182
CPCG06F11/2056G06F16/183G06F16/172G06F16/1744G06F8/63G06F16/128G06F16/162
Inventor 刘迟李子恒陈凯于晓宁韩荟
Owner BEIJING BAIDU NETCOM SCI & 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