摘要 |
<p>A method and a device for checkpoint and restart of container state are provided. The method for checkpoint and restart of container state comprises: obtaining and saving the configuration information of the first container, the state parameters of the control group of the first container and the state parameters of the application program of the first container in the checkpoint stage; reading the configuration information of the first container, the state parameters of the control group of the first container and the state parameters of the application program of the first container, and configuring the second container according to the configuration information of the first container, the state parameters of the control group of the first container and the state parameters of the application program of the first container in the restart stage. A device for checkpoint and restart of container state is also provided, which makes the execution environment of the processes in the container consistent before and after the checkpoint/restart operations.</p> |