Scroll to navigation

runc-checkpoint(8) System Manager's Manual runc-checkpoint(8)


runc-checkpoint - checkpoint a running container


runc checkpoint [option ...] container-id


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


Set path for saving criu image files. The default is ./checkpoint.

Set path for saving criu work files and logs. The default is to reuse the image files directory.

Set path for previous criu image files, in pre-dump.

Leave the process running after checkpointing.

Allow checkpoint/restore of established TCP connections. See criu --tcp-establised option ⟨⟩.

Allow checkpoint/restore of external unix sockets. See criu --ext-unix-sk option ⟨⟩.

Allow checkpoint/restore of shell jobs.

Use lazy migration mechanism. See criu --lazy-pages option ⟨⟩.

Pass a file descriptor fd to criu. Once lazy-pages server is ready, criu writes \0 (a zero byte) to that fd. Used together with --lazy-pages.

Start a page server at the specified IP-address and port. This is used together with criu lazy-pages. See criu lazy migration ⟨⟩.

Allow checkpoint/restore of file locks. See criu --file-locks option ⟨⟩.

Do a pre-dump, i.e. dump container's memory information only, leaving the container running. See criu iterative migration ⟨⟩.

Cgroups mode. Default is soft. See criu --manage-cgroups option ⟨⟩.

Checkpoint a namespace, but don't save its properties. See criu --empty-ns option ⟨⟩.

Enable auto deduplication of memory images. See criu --auto-dedup option ⟨⟩.


criu(8), runc-restore(8), runc(8), criu(8).