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

Container environment updating method and device

An update method and container technology, applied in the computer field, can solve the problems of strong user operation process intervention and high operation threshold, and achieve the effect of high applicability and easy operation.

Active Publication Date: 2021-12-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the container in the previous running state (for convenience of description, referred to as the old container), the user needs to destroy the old container to release the resources of the host machine occupied by the old container. It is understandable that the update process of the above container environment will interrupt the business operation, the user operation process is highly invasive, and the operation requires familiarity with the knowledge of images and containers, and the operation threshold is high

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 environment updating method and device
  • Container environment updating method and device
  • Container environment updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0063] For ease of understanding, some terms used in the embodiments of the present application will be explained below first.

[0064] (1) container

[0065] Containers can be considered as providing an execution environment that shares the kernel with the host operating system but is isolated from other process resources in the operating system. Through the container method, the resources on each resource device can be divided to obtain resource units that are isolated from each other an...

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 container environment updating method and device, and the method comprises the steps: obtaining a container environment information updating instruction which is triggered when at least one container in a running state polls that container environment information corresponding to a directory mounted to the container is updated; based on the container environment information updating instruction, updating the container environment information mounted in the storage space corresponding to the directory of the container to obtain updated container environment information; mapping the updated container environment information into the container, so that the container updates the container environment information in the container based on the updated container environment information; and enabling the container to continue to run based on the updated container environment information. By adopting the embodiment of the invention, batch updating of the container environment can be realized on the premise of not interrupting business operation, the operation is simple and convenient, and the applicability is high.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a container environment updating method and device. Background technique [0002] Currently, for a container that has been delivered for business use, that is, a container in a running state, if the information in the container needs to be updated, etc., the traditional method is that the user first manually updates the container environment information, and recreates a mirror image based on the container environment information , and then pull up a new container (for convenience of description, hereinafter referred to as the new container) through the image, and then restart the service of the new container for the user to use. For the container in the previous running state (for convenience of description, referred to as the old container), the user needs to destroy the old container to release the resources of the host machine occupied by the old container. It is u...

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): G06F8/65G06F8/71
CPCG06F8/65G06F8/71Y02D10/00
Inventor 查冲
Owner TENCENT TECH (SHENZHEN) CO LTD