runc-checkpoint(8)
β¨ NAME β¨
runc-checkpoint β checkpoint a running container π
Like, it takes a running container and freezes its whole vibe into a save file. Bestie, it's a screenshot but for a process tree. Iconic.
π SYNOPSIS π
runc checkpoint [option ...] container-id
π¦ DESCRIPTION π¦
Okay so the checkpoint command saves the state of the running container instance β with a little help from the criu(8) tool π§ β so you can restore it later. That's the whole plot. Save now, resurrect later. No cap.
π OPTIONS π
--image-pathpath β sets the path where the criu image files get saved. Default is./checkpoint. Put your little memories somewhere cute.--work-pathpath β sets the path for saving criu work files and logs. The default is to just reuse the image files directory. Sharing is caring fr fr.--parent-pathpath β sets the path for previous criu image files, in pre-dump. Yes queen, referencing the older pics.--leave-runningβ leave the process running after checkpointing. It's giving "you can look but you can't touch" π--tcp-establishedβ allow checkpoint/restore of established TCP connections. See the criu--tcp-establisedoption (https://criu.org/CLI/opt/--tcp-established). (That spelling is the manpage's, not mine, don't come for me π)--tcp-skip-in-flightβ skip in-flight TCP connections. See the criu--skip-in-flightoption (https://criu.org/CLI/opt/--skip-in-flight). The ones mid-flight? Not invited. π«--link-remapβ allows you to link unlinked files back when possible. See the criu--link-remapoption (https://criu.org/CLI/opt/--link-remap).--ext-unix-skβ allow checkpoint/restore of external unix sockets. See the criu--ext-unix-skoption (https://criu.org/CLI/opt/--ext-unix-sk).--shell-jobβ allow checkpoint/restore of shell jobs. Your lil background&gremlins get to come along π«Ά--lazy-pagesβ use the lazy migration mechanism. See the criu--lazy-pagesoption (https://criu.org/CLI/opt/--lazy-pages). She's lazy but she's efficient, main character energy.--status-fdfd β pass a file descriptor fd to criu. Once the lazy-pages server is ready, criu writes\0(a zero byte) to that fd. Used together with--lazy-pages. So it pings you when it's ready, like a good bestie.--page-serverIP-address:port β start a page server at the specified IP-address and port. This is used together with criu lazy-pages. See criu lazy migration (https://criu.org/Lazy_migration).--file-locksβ allow checkpoint/restore of file locks. See the criu--file-locksoption (https://criu.org/CLI/opt/--file-locks). The locks are coming with you, periodt.--pre-dumpβ do a pre-dump, i.e. dump the container's memory information only, leaving the container running. See criu iterative migration (https://criu.org/Iterative_migration). A lil sneak peek dump, a trailer if you will π¬--manage-cgroups-modesoft|full|strict|ignoreβ cgroups mode. Default issoft. See the criu--manage-cgroupsoption (https://criu.org/CLI/opt/--manage-cgroups). Pick your fighter.--empty-nsnamespace β checkpoint a namespace, but don't save its properties. See the criu--empty-nsoption (https://criu.org/CLI/opt/--empty-ns). Empty on purpose. Not empty by accident. Big difference π--auto-dedupβ enable auto deduplication of memory images. See the criu--auto-dedupoption (https://criu.org/CLI/opt/--auto-dedup). Declutter queen πΈ
π SEE ALSO π
criu(8), runc-restore(8), runc(8), criu(8).
(Yes, criu(8) is listed twice. Twice the love, twice the icon status. Not a typo on my end, I promise π«Ά)
And that's the page, bestie! This one lives in the System Manager's Manual, and the footer is just runc-checkpoint(8) all on her lonesome β no date, no version, she's mysterious like that β¨π Go save a container's whole soul. Slay.
π¦ where this page comes from
- alpine 3.24: runc-doc 1.4.3-r2 Β· Apache-2.0
- arch rolling: runc 1.5.2-1 Β· Apache
- fedora 43: runc 2:1.3.1-1.fc43 Β· Apache-2.0 and BSD-2-Clause and BSD-3-Clause and MIT
- fedora 43: runc 2:1.5.2-3.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: runc 2:1.4.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: runc 2:1.5.2-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- nixpkgs unstable: runc 1.5.2
- ubuntu resolute: runc 1.4.0-0ubuntu1 Β· Apache-2.0
- ubuntu resolute: runc-stable 1.3.4-0ubuntu1 Β· Apache-2.0
- ubuntu stonking: runc 1.5.1-0ubuntu2 Β· Apache-2.0
- ubuntu stonking: runc-stable 1.5.1-0ubuntu2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms