.nh .TH runc-checkpoint "8" .SH NAME .PP \fBrunc-checkpoint\fP - checkpoint a running container .SH SYNOPSIS .PP \fBrunc checkpoint\fP [\fIoption\fP ...] \fIcontainer-id\fP .SH DESCRIPTION .PP The \fBcheckpoint\fP command saves the state of the running container instance with the help of \fBcriu\fP(8) tool, to be restored later. .SH OPTIONS .TP \fB--image-path\fP \fIpath\fP Set path for saving criu image files. The default is \fI\&./checkpoint\fP\&. .TP \fB--work-path\fP \fIpath\fP Set path for saving criu work files and logs. The default is to reuse the image files directory. .TP \fB--parent-path\fP \fIpath\fP Set path for previous criu image files, in pre-dump. .TP \fB--leave-running\fP Leave the process running after checkpointing. .TP \fB--tcp-established\fP Allow checkpoint/restore of established TCP connections. See criu --tcp-establised option \[la]https://criu.org/CLI/opt/--tcp-established\[ra]\&. .TP \fB--ext-unix-sk\fP Allow checkpoint/restore of external unix sockets. See criu --ext-unix-sk option \[la]https://criu.org/CLI/opt/--ext-unix-sk\[ra]\&. .TP \fB--shell-job\fP Allow checkpoint/restore of shell jobs. .TP \fB--lazy-pages\fP Use lazy migration mechanism. See criu --lazy-pages option \[la]https://criu.org/CLI/opt/--lazy-pages\[ra]\&. .TP \fB--status-fd\fP \fIfd\fP Pass a file descriptor \fIfd\fP to \fBcriu\fP\&. Once \fBlazy-pages\fP server is ready, \fBcriu\fP writes \fB\\0\fP (a zero byte) to that \fIfd\fP\&. Used together with \fB--lazy-pages\fP\&. .TP \fB--page-server\fP \fIIP-address\fP:\fIport\fP Start a page server at the specified \fIIP-address\fP and \fIport\fP\&. This is used together with \fBcriu lazy-pages\fP\&. See criu lazy migration \[la]https://criu.org/Lazy_migration\[ra]\&. .TP \fB--file-locks\fP Allow checkpoint/restore of file locks. See criu --file-locks option \[la]https://criu.org/CLI/opt/--file-locks\[ra]\&. .TP \fB--pre-dump\fP Do a pre-dump, i.e. dump container's memory information only, leaving the container running. See criu iterative migration \[la]https://criu.org/Iterative_migration\[ra]\&. .TP \fB--manage-cgroups-mode\fP \fBsoft\fP|\fBfull\fP|\fBstrict\fP\&. Cgroups mode. Default is \fBsoft\fP\&. See criu --manage-cgroups option \[la]https://criu.org/CLI/opt/--manage-cgroups\[ra]\&. .TP \fB--empty-ns\fP \fInamespace\fP Checkpoint a \fInamespace\fP, but don't save its properties. See criu --empty-ns option \[la]https://criu.org/CLI/opt/--empty-ns\[ra]\&. .TP \fB--auto-dedup\fP Enable auto deduplication of memory images. See criu --auto-dedup option \[la]https://criu.org/CLI/opt/--auto-dedup\[ra]\&. .SH SEE ALSO .PP \fBcriu\fP(8), \fBrunc-restore\fP(8), \fBrunc\fP(8), \fBcriu\fP(8).