Docker Container monitoring method and system

A monitoring system and container technology, applied in the direction of program control design, program control devices, instruments, etc., can solve the problems of lack of mature and perfect solutions, single container monitoring method, etc., and achieve fast startup speed, good performance, and good ease of use. Effect

Inactive Publication Date: 2018-09-07
ZHONGSHAN INST OF MODERN IND TECH SOUTH CHINA UNIV OF TECH +1
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional monitoring and collection of resource usage is mainly for HOST or VM. Therefore, when the environment that provides application servi...

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
  • Docker Container monitoring method and system
  • Docker Container monitoring method and system
  • Docker Container monitoring method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0045] A container monitoring method for Docker Container, comprising the following steps:

[0046] S1. Obtain the id information of all Containers on the current host;

[0047] S2. Obtain the Namespace status of each container according to the id information of the Container, that is, obtain the Namespace of all Containers on the current host exported by the kernel;

[0048] S3. Obtain image information, container life cycle and container performance data according to the id information and Namespace information of the Container;

[0049] S4. Present container data and deploy monitoring scripts.

[0050] specifically:

[0051] Such as figure 1 , the monitoring system method of Docker Container includes the following steps:

[0052] (1) Communicate with Docker

[0...

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 discloses a Docker Container monitoring method. The method comprises the following steps of obtaining id information of all Containers in a current host; according to the id informationof the Containers, obtaining Namespace states of the Containers, namely, obtaining Namespaces of all the Containers in the current host and exported by a kernel; according to the id information and Namespace information of the Containers, obtaining mirror information, container life cycles and container performance data; and presenting the container data, and deploying a monitoring script. According to the method, the host which already creates a Docker Container environment can be monitored; the profile data, the performance data and the mirror data of the Containers are collected; and good monitoring and display of Docker Container application are realized.

Description

technical field [0001] The invention relates to the field of containers, in particular to a monitoring method and system for Docker Containers. Background technique [0002] With the development of network technology, people are more and more accustomed to running multiple services on the same server at the same time. For example, on a server with a memory of 64G, the navigation service, mobile assistant and other main station services are run simultaneously. When multiple services are running on a server at the same time, in order to ensure that when one of the services is attacked or has operational problems, other services will not be affected by related adverse effects, and the resources of the server can be isolated. When performing resource isolation, because using a VM virtual machine requires a large amount of CPU resources, therefore, in the prior art, Docker, which manages multiple container containers, is usually used to perform resource isolation. However, in t...

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/455
CPCG06F9/45533
Inventor 陆璐涂逸欣
Owner ZHONGSHAN INST OF MODERN IND TECH SOUTH CHINA UNIV OF TECH
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