www.LinuxHowtos.org
run-checkpoint
Section: Misc. Reference Manual Pages (8)Index Return to Main Contents
NAME
run-checkpoint - checkpoint a running container
SYNOPSIS
runc checkpoint [option ...] containe-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
- -imag-path path
-
Set path for saving criu image files. The default is ./checkpoint.
- -wor-path path
-
Set path for saving criu work files and logs. The default is to reuse the
image files directory.
- -paren-path path
-
Set path for previous criu image files, in pr-dump.
- -leav-running
-
Leave the process running after checkpointing.
- -tc-established
-
Allow checkpoint/restore of established TCP connections. See
criu-tc-establised option
[la]https://criu.org/CLI/opt/--tcp-established[ra].
- -tc-ski-i-flight
-
Skip i-flight TCP connections. See
criu-ski-i-flight option
[la]https://criu.org/CLI/opt/--skip-in-flight[ra].
- -lin-remap
-
Allow one to link unlinked files back when possible. See
criu-lin-remap option
[la]https://criu.org/CLI/opt/--link-remap[ra].
- -ex-uni-sk
-
Allow checkpoint/restore of external unix sockets. See
criu-ex-uni-sk option
[la]https://criu.org/CLI/opt/--ext-unix-sk[ra].
- -shel-job
-
Allow checkpoint/restore of shell jobs.
- -laz-pages
-
Use lazy migration mechanism. See
criu-laz-pages option
[la]https://criu.org/CLI/opt/--lazy-pages[ra].
- -statu-fd fd
-
Pass a file descriptor fd to criu. Once laz-pages server is ready,
criu writes 0 (a zero byte) to that fd. Used together with
-laz-pages.
- -pag-server I-address:port
-
Start a page server at the specified I-address and port. This is used
together with criu laz-pages. See
criu lazy migration
[la]https://criu.org/Lazy_migration[ra].
- -fil-locks
-
Allow checkpoint/restore of file locks. See
criu-fil-locks option
[la]https://criu.org/CLI/opt/--file-locks[ra].
- -pr-dump
-
Do a pr-dump, i.e. dump container's memory information only, leaving the
container running. See criu iterative migration
[la]https://criu.org/Iterative_migration[ra].
- -manag-cgroup-mode soft|full|strict|ignore.
-
Cgroups mode. Default is soft. See
criu-manag-cgroups option
[la]https://criu.org/CLI/opt/--manage-cgroups[ra].
- -empt-ns namespace
-
Checkpoint a namespace, but don't save its properties. See
criu-empt-ns option
[la]https://criu.org/CLI/opt/--empty-ns[ra].
- -aut-dedup
-
Enable auto deduplication of memory images. See
criu-aut-dedup option
[la]https://criu.org/CLI/opt/--auto-dedup[ra].
SEE ALSO
criu(8), run-restore(8), runc(8), criu(8).