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

Application process management method, device and medium in docker container

A docker container and application process technology, applied in the Internet field, can solve the problems that application processes cannot terminate orphan processes and resources cannot be released, and achieve the effect of avoiding zombie processes and resource leakage.

Active Publication Date: 2020-02-21
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, due to the special treatment of the first process by the system, the existing technology will cause problems that the application process cannot be terminated and the resources of the orphan process cannot be released

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
  • Application process management method, device and medium in docker container
  • Application process management method, device and medium in docker container
  • Application process management method, device and medium in docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0047] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0048] According to the embodiments of the present invention, a method for managing an app...

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

An embodiment of the invention provides a management method for application processes in a Docker container. The method comprises the following steps: an initialization process is set; bifurcation operation is performed on the initialization process, and an initial process and a first child process are obtained; system signal registration operation is performed in the initial process, and the first child process and at least one application process are taken over by monitoring system signals, forwarding the system signals to the first child process and calling at least one application process loaded into the Docker container by the first child process executes system, wherein the at least one application process is loaded into the Docker container when the first child process executes system call. The initial process and child processes are obtained by performing bifurcation operation on the initialization process, the initial process controls the child processes and application processes by means of system signal registration and forwarding, and with adoption of the method, the application processes can be terminated timely and resources of orphan processes can be released timely. Besides, the embodiment of the invention provides a management device for the application processes in the Docker container and a computer readable storage medium.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and more specifically, the embodiments of the present invention relate to a method, a device, and a computer-readable storage medium for managing an application process in a Docker container. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] Docker container is an open source application container engine, developers can package their applications and dependencies into a portable container, and then publish to any popular Linux machine, and virtualization can also be realized. The containers that developers have passed the test in their development environment can be deployed in batches in different versions of Linux production environments, and the containers can ...

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/48G06F9/455
CPCG06F9/45504G06F9/485
Inventor 胡志敏
Owner NETEASE (HANGZHOU) NETWORK CO LTD