Method and device for managing mirror image warehouse, electronic equipment and readable storage medium

A technology of mirroring and warehouse, applied in the field of managing mirror warehouses, it can solve the problems of blocking, not being able to keep the system in a read-only state, and difficult to clean up the garbage mirror layer.

Pending Publication Date: 2020-12-15
ALIBABA GRP HLDG LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of proposing the present invention, the inventor found that the existing mirror warehouse service has difficulties in cleaning up the garbage mirror layer. During this period, all image upload operations will be blocked
However, in the actual use environment, the system cannot be kept in a read-only state for a long time. Therefore, the existing garbage cleaning scheme cannot meet the actual needs

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
  • Method and device for managing mirror image warehouse, electronic equipment and readable storage medium
  • Method and device for managing mirror image warehouse, electronic equipment and readable storage medium
  • Method and device for managing mirror image warehouse, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0106] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily realize them. Also, for clarity, parts not related to describing the exemplary embodiments are omitted in the drawings.

[0107] In the present disclosure, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in the specification, and are not intended to exclude one or a plurality of other features, numbers, steps, acts, parts, parts or combinations thereof exist or are added.

[0108]In addition, it should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings ...

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 embodiment of the invention discloses a method and device for managing a mirror image warehouse, electronic equipment and a readable storage medium. The method for managing the mirror image warehouse comprises the steps of receiving one or more uploading mirror image layers; storing the uploaded mirror image layer in the mirror image warehouse in a first storage mode; determining a to-be-cleaned mirror image layer in one or more original mirror image layers stored in the mirror image warehouse in a second storage mode, wherein the first storage mode is different from the second storage mode; and cleaning the mirror image layer to be cleaned. According to the technical scheme, the newly uploaded mirror image layer and the original mirror image layer are stored in the mirror image warehouse in the first storage mode and the second storage mode respectively, so that the mirror image layer in the mirror image uploading operation is separated from the mirror image layer in the garbage cleaning operation, and garbage cleaning is possible to be executed while the mirror image uploading operation is carried out; concurrent problems are avoided, and under the condition that other databases or middleware is not introduced, the garbage cleaning problem of the mirror image warehouse is solved.

Description

technical field [0001] The present disclosure relates to the field of computer application technology, in particular to a method, device, electronic equipment and readable storage medium for managing a mirror warehouse. Background technique [0002] In the Docker system, the image is stored in the image warehouse, and the client can download the image from the image warehouse or upload the image to the image warehouse. Registry is an open source Docker image storage and management center. When the client performs the Docker instantiation operation, it can download the required image from the mirror warehouse and save it locally. Correspondingly, when the client modifies the mirror image and obtains a new mirror image, it can also upload the new mirror image to the mirror warehouse. An image can include multiple image layers, and adjacent image layers have dependencies. The Docker system uses image meta information to describe the dependencies between image layers. [000...

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): G06F16/21G06F16/215G06F16/27G06F16/172
CPCG06F16/172G06F16/215G06F16/219G06F16/27G06F16/273G06F16/21
Inventor 周宏宇
Owner ALIBABA GRP HLDG 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