From 0ac3b2e9e4db7db9eb68096f87060c195112812b Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Tue, 13 Sep 2016 05:14:41 +0000 Subject: [PATCH] add current limitation to experimental/checkpoint-restore.md Signed-off-by: Akihiro Suda Upstream-commit: d1c910af383fcce51e57c23b0c848c1f3c3baa8f Component: engine --- .../engine/experimental/checkpoint-restore.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/components/engine/experimental/checkpoint-restore.md b/components/engine/experimental/checkpoint-restore.md index 9c46e69cd6..4e2bca1cd7 100644 --- a/components/engine/experimental/checkpoint-restore.md +++ b/components/engine/experimental/checkpoint-restore.md @@ -71,5 +71,17 @@ in between running/checkpoint/restoring you should see that the counter increases while the process is running, stops while it's checkpointed, and resumes from the point it left off once you restore. -Note that seccomp is only supported by CRIU in very up to date kernels. +## Current Limitation + +seccomp is only supported by CRIU in very up to date kernels. + +External terminal (i.e. `docker run -t ..`) is not supported at the moment. +If you try to create a checkpoint for a container with an external terminal, +it would fail: + + $ docker checkpoint create cr checkpoint1 + Error response from daemon: Cannot checkpoint container c1: rpc error: code = 2 desc = exit status 1: "criu failed: type NOTIFY errno 0\nlog file: /var/lib/docker/containers/eb62ebdbf237ce1a8736d2ae3c7d88601fc0a50235b0ba767b559a1f3c5a600b/checkpoints/checkpoint1/criu.work/dump.log\n" + + $ cat /var/lib/docker/containers/eb62ebdbf237ce1a8736d2ae3c7d88601fc0a50235b0ba767b559a1f3c5a600b/checkpoints/checkpoint1/criu.work/dump.log + Error (mount.c:740): mnt: 126:./dev/console doesn't have a proper root mount