checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.9k stars 583 forks source link

Error: unknown flag: --create-image #2378

Closed p2028 closed 6 months ago

p2028 commented 6 months ago

Description I can't use --create-image in podman

Steps to reproduce the issue: 1.podman run -d --name looper busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done' 2.podman container checkpoint --create-image checkpoint-image-1 looper

Describe the results you received: Error: unknown flag: --create-image

Describe the results you expected: Able to successfully generate the image

Additional information you deem important (e.g. issue happens only occasionally):

Output of `criu --version`:

Version: 3.19 GitID: e025b7e

Output of `criu check --all`:

Looks good.

Additional environment details: podman version 3.4.4

adrianreber commented 6 months ago

This sounds like a Podman problem and not a CRIU problem. Please try it again with the newest Podman version. 5.x. Your version looks really old.