Podman using CRIU to checkpoint and restore a container

by user:79575
GNU/Linux ◆ xterm-256color ◆ bash 2921 views

This shows Podman using checkpoint and restore on a tomcat container. The HelloWorldExample has been modified to return a single integer which is is incremented after each request.

In the upper terminal a container with tomcat is started and in the lower terminal a connection is made to a tomcat servlet from a second system. After two requests the container ‘podman-criu-test’ is checkpointed and the VM ‘rhel01’ is rebooted. After the reboot the container is restored and the second system in the lower terminal can continue making requests.

The VM in the upper terminal is now rebooted without checkpointing the container and once the VM is back again the container is restored from the same checkpoint and previously and the answer from the servlet is once again the same as before.

Both involved systems are running RHEL7.

The full URL to the test container is: docker://docker.io/yovfiatbeb/podman-criu-test