I am trying to use checkpoint in a busybox image. At first I created a regular loop and then printing the numbers.
docker run -d --name simple13 busybox /bin/sh -c "i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done"
docker logs -f simple13
Then I tried to use checkpoint by following command -
docker checkpoint create simple13 checkpoint1
But, it shows some error like this -
Error response from daemon: Cannot checkpoint container simple13:
docker-runc did not terminate sucessfully: CRIU version check failed: exec:
"criu": executable file not found in $PATH path=
/var/run/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/2fd6f5b517
3fb75ee2793d50602506ee6bc97fcd49df93141846fec21f003be4/criu-dump.log: unknown
The experimental is turned on here already. So, can you please inform me what I need to do here to use checkpoint correctly ? Thanks.
λ docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:05:22 2017
OS/Arch: windows/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:29 2017
OS/Arch: linux/amd64
Experimental: true