SysTutorials

Linux Manual Pages › Section 8

runc-checkpoint(8)

runc-checkpoint – checkpoint a running container

Synopsis

runc checkpoint [option …] container-id

Description

The checkpoint command saves the state of the running container instance with the help of criu(8) tool, to be restored later.

Options

–image-path path
Set path for saving criu image files. The default is ./checkpoint.
–work-path path
Set path for saving criu work files and logs. The default is to reuse the image files directory.
–parent-path path
Set path for previous criu image files, in pre-dump.
–leave-running
Leave the process running after checkpointing.
–tcp-established
Allow checkpoint/restore of established TCP connections. See criu –tcp-establised option <https://criu.org/CLI/opt/–tcp-established>.
–ext-unix-sk
Allow checkpoint/restore of external unix sockets. See criu –ext-unix-sk option <https://criu.org/CLI/opt/–ext-unix-sk>.
–shell-job
Allow checkpoint/restore of shell jobs.
–lazy-pages
Use lazy migration mechanism. See criu –lazy-pages option <https://criu.org/CLI/opt/–lazy-pages>.
–status-fd fd
Pass a file descriptor fd to criu. Once lazy-pages server is ready, criu writes