-
Notifications
You must be signed in to change notification settings - Fork 623
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
tcp-established in /etc/criu/default.conf not working with docker checkpoint create? #599
Comments
The version of runc you have it probably too old. You need at least a version which includes opencontainers/runc#1933. You could try to open a bug against Fedora's runc in bugzilla.redhat.com. runc usually gets updated pretty quickly in Fedora. You could also try Podman as it has support to specify |
@pietschy When adding options in @adrianreber This looks like a very common question. Maybe we should explain it better in https://criu.org/Configuration_files, and perhaps mention about |
Thanks guys, Looks like I'm running the latest runc 1.0.0-rc6+dev release so at this stage I'll wait for the next one and try again then (I'm guessing Fedora won't consider releasing a new package until that happens anyway). As for the docs, Google took me to https://criu.org/Docker first so having it referenced there would have helped a lot. |
Looking at https://src.fedoraproject.org/rpms/runc/commits/master I see that the changes are already in Fedora's development branch and my experience with the runc package is that it updated pretty fast if you ask. So I really recommend to open a ticket and ask. Or try rawhide runc from here: https://koji.fedoraproject.org/koji/buildinfo?buildID=1180067 Then, @rst0git was right, you need to use the configuration file |
@rst0git sure, it's a wiki 😀, please just change it |
Thanks all for your help, I've created a bug with fedora. |
The fedora bug was closed. Should we close this one? |
I can confirm checkpointing is working for my containers in the latest fedora release so I'm happy to close this. Thanks for all your help guys. |
I second it. I've spent a few hours trying to make this work when finally I've found this comment. |
Hi there,
I've created the file
/etc/criu/default.conf
and put a single line withtcp-established
in it but am still getting the following error when I try and checkpoint my container.And the log file contains the line
I tested
/etc/criu/default.conf
by adding an invalid option and and runningcriu check
. It barfed with an appropriate message as diddocker checkpoint
.Any ideas what I'm doing wrong?
Thanks & cheers
Version info:
Fedora release 29 (Twenty Nine)
Kernel: 4.18.16-300.fc29.x86_64
Criu: 3.11-2.fc30
Docker: 18.09.1, build 4c52b90
The text was updated successfully, but these errors were encountered: