Using the simple example from the website. https://criu.org/Simple_loop
Install CRiU
sudo apt update
sudo apt install criu
# Check criu is installed with the correct kernel
sudo criu check
https://asciinema.org/a/GUjonWzfvZX1ZfMqkGouhZ3Q5
If the criu version is older than v3.17, the env variable workaround is needed: https://github.com/checkpoint-restore/criu/issues/2096