Open tzvetkovg opened 11 months ago
I don't really understand your setup. But CRIU is Linux only and unfortunately Ubuntu ships a broken version of CRIU. That will always fail.
Not sure about your docker problems. Sounds like CRIU is simply not installed.
is there any linux docker container with criu example that runs fine in macOS?
is there any linux docker container with criu example that runs fine in macOS?
I don't know. Never used macOS. But if you are looking for a Linux distribution with a working version of CRIU. Anything but Ubuntu.
MacOS is not Linux, It seems that your run a ubuntu:22.04 container on macos. Maybe your need a real linux kernel.
A friendly reminder that this issue had no activity for 30 days.
@tzvetkovg any news from your side? Can this be closed?
A friendly reminder that this issue had no activity for 30 days.
I am running on a macOS and I know criu requires linux so that's why I try to build criu via a docker container. My steps are as follows
Steps to reproduce the issue:
Linux f5d30f4b834a 6.5.11-linuxkit #1 SMP PREEMPT Mon Dec 4 11:30:00 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
6.sudo criu check --all
7.Then I am trying to build the simple example as described here https://criu.org/Simple_loop
Eventually, I would like to do docker checkpoint so I've tried the steps from inside the ubuntu container here after I've installed criu https://docs.docker.com/engine/reference/commandline/checkpoint/
Error response from daemon: Cannot checkpoint container cr: runc did not terminate successfully: exit status 1: CRIU version check failed: exec: "criu": executable file not found in $PATH path= /var/run/desktop-containerd/daemon/io.containerd.runtime.v2.task/moby/c42152766e1b23cb28b6899de0eb074633158dc3368b6f1cccb5054edaaec3e5/criu-dump.log: unknown
so not sure, is it to do with the docker container or the fact I am running from macOS? Is there any official example how to run criu from a macOs through a docker container? None of the examples I followed actually work..