Check patentability & draft patents in minutes with Patsnap Eureka AI!

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

A computer program and image technology, applied in the computer field, can solve problems such as inability to pull container images

Pending Publication Date: 2021-03-09
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to address the above technical problems and provide a rollback method, device, computer equipment and storage medium that can solve the problem that the new container cannot pull the container image of the corresponding version image

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0052] The rollback method of the container image provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the client 102 communicates with the server 104 through the network. The server 104 receives the container image rollback request initiated by the client 102, and the image rollback request carries an image identifier. According to the image ID, the server 104 inquires whether the image name and version number corresponding to the image ID exist in the local database. If it exists, the server 104 initiates a req...

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 relates to a container mirror image rollback method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a mirror image rollback request of a container initiated by a client; wherein the mirror image rollback request carries a mirror image identifier; querying whether a mirror image name and a version number corresponding to the mirror image identifier exist or not in a local database according to the mirror image identifier; if so, initiating a request for updating the mirror image of the container to a container arrangement service, and updating the mirror image version of the container according to the mirror image name and the version number; and if not, returning error information. By adopting the method, the containermirror image can be rolled back to a specific version, and which mirror image versions can be rolled back can be recognized and fed back, so that the problem that the new container cannot pull the mirror image of the corresponding version is solved, the new container can pull the specified mirror image version to run normally, and corresponding services are provided.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a container image rollback method, device, computer equipment and storage medium. Background technique [0002] With the development of computer technology and the trend of micro-service cloud containerization, cloud service governance has become a difficult point in operation and maintenance management. Continuous integration (CI-Continuous integration) and continuous deployment (CD-continuous deployment) are indispensable tools in cloud service governance, responsible for managing the process of transforming projects from code to microservices. When the execution of CD, that is, the continuous deployment task fails or misoperation occurs, it is necessary to roll back the image involved in the microservice to the previous version or a specific historical version, which is a remedial measure to correct this situation. [0003] However, in the current container image ...

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/455G06F11/14
CPCG06F9/45558G06F11/143G06F2009/45562
Inventor 李睿川罗利辉王要深
Owner KINGDEE SOFTWARE(CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More