1

我正在尝试使用 CRIU ( https://criu.org/Docker ) 做一个 docker checkpoint/restore 的 hello-world 示例。

这是来自的输出criu check --all

Error (criu/cr-check.c:648): Kernel doesn't support 
PTRACE_O_SUSPEND_SECCOMP
Error (criu/cr-check.c:692): Dumping seccomp filters not supported: 
Input/output error
Error (criu/cr-check.c:919): cgroupns not supported. This is not fatal.
Looks good but some kernel features are missing
which, depending on your process tree, may cause
dump or restore failure.

当我实际创建检查点时遇到问题,它不会停止正在运行的容器,而是说它创建了检查点。我认为这是因为 --all 报告了上述错误。当然之后,当我去恢复时,它并没有真正恢复。

我看到了支持 Docker 的 CRIU 所需的多个内核补丁。RHEL7.4 是否支持这些补丁?我发现的关于内核补丁的最佳讨论在这里:https ://trello.com/c/CqLRhFSk/91-follow-up-on-criu-checkpoint-restart-in-userspace-support-and-test-基本场景快照恢复

我现在的环境:

  • RHEL 7.4
  • Docker 版本 17.12.0-ce,构建 c97c6d6
  • 运行一个 centos 7.4 docker 镜像作为基础
4

1 回答 1

0

经过一番挖掘,我在 Moby 上发现了以下未解决的问题:

降级到 docker-ce-17.03 解决了这个问题。

于 2018-04-04T00:40:58.910 回答