New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu:22.04 build fails #2314
Comments
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? |
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:
uname -a
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
8. the dump command works fine inside the docker container (criu dump -t 2221 -vvv -o dump.log && echo OK)
9. However, it fails on restore command criu restore -d -vvv -o restore.log && echo OK with the exception
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/
but I got
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..
The text was updated successfully, but these errors were encountered: