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

A method, system, terminal and storage medium for clearing images with the same name based on docker

A technology of mirroring and storage, applied in the server field, can solve the problems of wasting time, reducing the progress of the new mirror creation process or pulling process, etc., and achieve the effect of wide application prospects, reliable design principles, and reduced complexity.

Active Publication Date: 2022-06-21
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when deleting the old image, once the new image creation process or pull process has not been completed, the image cache has been cleared at this time, which will greatly reduce the progress of the new image creation process or pull process, which is a serious waste of time

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
  • A method, system, terminal and storage medium for clearing images with the same name based on docker
  • A method, system, terminal and storage medium for clearing images with the same name based on docker
  • A method, system, terminal and storage medium for clearing images with the same name based on docker

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0041] figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. in, figure 1 The execution body can be a Docker-based image removal system of the same name.

[0042] like figure 1 As shown, the method 100 includes:

[0043] Step 110, before creating the target imag...

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 present invention provides a method, system, terminal and storage medium for clearing images with the same name based on Docker, including: before creating a target image, searching for an original image with the same name as the target image; marking the original image and monitoring the The address of the original image; monitor the creation process or pulling process of the target image, and delete the original image at the current address of the original image after monitoring the creation process or pulling process of the target image. mirror image. The present invention strengthens Docker's function of clearing invalid mirror images by automatically clearing old mirror images with the same name, avoiding the possibility that the disk utilization rate continues to increase after creating or pulling a new mirror image and occupying a large amount of storage space, resulting in service interruption; <none>"The generation of the image provides guarantee for the safe and reliable operation of the application; at the same time, it also reduces the complexity of manual operation and maintenance and reduces maintenance costs.< / none>

Description

technical field [0001] The invention belongs to the technical field of servers, and in particular relates to a Docker-based image removal method, system, terminal and storage medium of the same name. Background technique [0002] When CI / CD builds Docker images and deploys applications every day, after creating or pulling new images, the old images will not be automatically deleted, resulting in the continuous growth of disk utilization and occupying a large amount of storage space. Set up automatic clearing to avoid the risk of service interruption when the disk is full. [0003] However, when deleting the old image, once the creation process or pulling process of the new image has not been completed, the image cache has been cleared at this time, which will greatly reduce the progress of the creation process or pulling process of the new image, which is a serious waste of time. Therefore, how to delete old images in a timely manner is a technical problem that needs to be ...

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 Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558
Inventor 杨启周刘黎秦凯新
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD