容器迁移

一、概述

  容器跨host迁移工具:CRIU

  CRIU – Checkpoint/Restore In Userspace
  ` 用途:
    ` 将进程状态保存为文件
    ` 通过文件恢复进程

二、流程

容器迁移

  1、第一步: pre-checkpoint

容器迁移

  2、第二步: pre-restore

容器迁移

  3、第三步: checkpoint

容器迁移

  4、第四步: restore

  容器迁移