Back to results
US 10,768,973 B1Granted
Method for implementation and optimization of online migration system for dockers container
AssigneeHuazhong University of Science and Technology
InventorsHai Jin, Song Wu, Bo Xu
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method for implementation and optimization of an online migration system for Docker containers.
Claims6
A method for implementation and optimization of an online migration system for Docker containers, the method comprising the steps of:
- based on different container file systems and parent-child relationship of their image layers, determining an integrating and collecting mechanism for data of the image layers so as to accomplish integration and collection of the data of the image layers, including:
- identifying parent-child hierarchical relationship between tags of the image layers of the container based on the current file system and a container ID, and collecting configuration information about the container based on the container ID;
- based on the container ID and a container configuration file, integrating information about metadata of the image layers and information about metadata of a container image in an image management directory;
- and
- based on a mount point field in the container configuration file, determining information about a volume mount point;
- based on Diff commands between parent image layers and child image layers, determining a latest version of the data of the image layers, and transferring the latest version of the data of the image layers between a source machine container and a destination machine container so as to accomplish iterative synchronization of the data of the image layers;
- implementing iterative synchronization of a memory by means of implementing a Pre-Copy mechanism, wherein the iterative synchronization of a memory includes:
- creating a first checkpoint image file, synchronizing the first checkpoint image file to the destination machine container by means of storing the first checkpoint image file to a designate directory, and accomplishing a first round of said iterative synchronization of the memory by means of such configuring a pre-dump parameter that a service process of the source machine container remains active;
- creating a second checkpoint image file for a second round of said iterative synchronization by means of taking the first checkpoint image file as a parent image and configuring the -parent parameter;
- and
- where the second checkpoint image file satisfies at least one of a first threshold requirement, a second threshold requirement and a third threshold requirement, accomplishing the iterative synchronization of the memory by means of synchronizing the second checkpoint image file to the destination machine container;
- and
- when the iterative synchronization for both of the data of the image layers and the memory have been completed, performing restoration of the destination machine container.
10 more elements
Dependencies are inferred from the claim text.