Netinfo Security ›› 2021, Vol. 21 ›› Issue (5): 12-18.doi: 10.3969/j.issn.1671-1122.2021.05.002

Previous Articles     Next Articles

Attribute Weight Snapshot Selection Strategy Based on Docker Container Fault Recovery

ZHENG Jun1, NIE Rong2, WANG Shouxin3(), TAN Yu’an2   

  1. 1. School of Cyberspace Security, Beijing Institute of Technology, Beijing 100089, China
    2. School of Computer Science, Beijing Institute of Technology, Beijing 100089, China
    3. China Satellite Communications Co., Ltd., Beijing 100190, China
  • Received:2021-02-22 Online:2021-05-10 Published:2021-06-22
  • Contact: WANG Shouxin E-mail:shouxin_wang@126.com

Abstract:

In recent years, as a new virtualization technology, Docker container technology has been widely concerned and used because of its advantages of good isolation, low cost, safe and convenient deployment. The reliability of Docker container has become the focus of current research. However, there are many tasks in Docker container that break down at any time during operation, which is almost unavoidable. Container snapshot technology is one of the main methods for fault recovery. At present, the main snapshot selection methods are minimum time difference from fault snapshot selection strategy and manual snapshot selection strategy, but none of these strategies has a comprehensive evaluation and rigorous decision-making process for the target container. This paper proposes an attribute weight snapshot selection strategy based on Docker container fault recovery. When recovering the target container, according to different requirements scenarios and function characteristics of the container in use, the attribute index weight allocation method and comprehensive scoring selection algorithm of the snapshot are combined to get the optimal snapshot suitable for the target container to recover from a fault. Through the evaluation of several container resource indicators, it is found that compared with the minimum time difference selection strategy, the strategy proposed in this paper can make the container in a better performance state after recovery.

Key words: Docker container technology, fault recovery, snapshot selection strategy

CLC Number: