Skip to content

Instantly share code, notes, and snippets.

@boucher
Created September 10, 2015 20:04
Show Gist options
  • Save boucher/d6803d75a14606bd95fb to your computer and use it in GitHub Desktop.
Save boucher/d6803d75a14606bd95fb to your computer and use it in GitHub Desktop.
My configuration:
Linux ismael 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3
(2015-08-04) x86_64 GNU/Linux
I am using the last release compiled version of Docker Experimental
v1.9.0 with the compiled version of CRIU v1.6 and libprotobuf:
https://github.com/boucher/docker/releases
I start the daemon:
sudo ./docker-1.9.0-dev daemon
then a container:
docker run -d --publish-service test busybox /bin/sh -c 'i=0;
while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
the checkpoint goes well:
sudo ./docker-1.9.0-dev checkpoint --image-dir=/home/ismael/images
--work-dir=/home/ismael/logs <container id>
but the restore part fail:
sudo ./docker-1.9.0-dev restore --image-dir=/home/ismael/images
--work-dir=/home/ismael/logs <container id>
It output:
Error response from daemon: Cannot restore container
7cbe526dbef8d71c98ea7b365ebc1a12325ddc300216a6697e37831a8f56af44: criu
failed: type RESTORE errno 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment