[CRIU] Docker - CRIU - Failed Checkpoint Restore

Thouraya TH thouraya87 at gmail.com
Thu Dec 31 05:25:53 PST 2015


Hi all :)

I have done two tests with:
criu --version
Version: 1.6
GitID: v1.6-5-g5e1a8a2




*Test 1 ( Successful Checkpoint Restore ): *
First Terminal:

./docker-1.9.0-dev run -d --name *test6-container* ubuntu:latest /bin/sh -c
'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 3; done'
67de0ff343a32b779fee58f1990aa50bfb0b99d2cc6066597fffef03c5b87839

./docker-1.9.0-dev ps -a
CONTAINER ID        IMAGE               COMMAND
CREATED             STATUS                      PORTS               NAMES
67de0ff343a3        ubuntu:lates        "/bin/sh -c 'i=0; whi"   10 seconds
ago      *Up *9 seconds                                   * test6-container*

Second Terminal:

./docker-1.9.0-dev checkpoint test6-container
test6-container

/docker-1.9.0-dev ps -a
CONTAINER ID        IMAGE               COMMAND
CREATED             STATUS                       PORTS               NAMES
67de0ff343a3        ubuntu:lates        "/bin/sh -c 'i=0; whi"   24 seconds
ago      *Checkpointed 4 seconds ago*                       test6-container

./docker-1.9.0-dev restore test6-container
test6-container

./docker-1.9.0-dev ps -a
CONTAINER ID        IMAGE               COMMAND
CREATED             STATUS                      PORTS               NAMES
67de0ff343a3        ubuntu:lates        "/bin/sh -c 'i=0; whi"   38 seconds
ago      *Up *3 seconds                                    test6-container






*Test 2 ( Failed Checkpoint Restore ): *First Terminal:

./docker-1.9.0-dev run -i --name* test4-container -t ubuntu:latest
/bin/bash*
root at ebd608402e1d:/# ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run
sbin  srv  sys  tmp  usr  var
root at ebd608402e1d:/# cd /home/

Second terminal

./docker-1.9.0-dev ps -a
CONTAINER ID        IMAGE               COMMAND
CREATED             STATUS                      PORTS               NAMES
ebd608402e1d        ubuntu:lates        "/bin/bash"              2 minutes
ago       Up 4 seconds                                    test4-container






*./docker-1.9.0-dev checkpoint test4-containerError response from daemon:
Cannot checkpoint container test4-container: criu failed: type NOTIFY errno
0Error: failed to checkpoint one or more containers*
Any help please ?
Thank you so much.
Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151231/38f1c05f/attachment-0001.html>


More information about the CRIU mailing list