1runc-checkpoint(8) System Manager's Manual runc-checkpoint(8)
2
3
4
6 runc-checkpoint - checkpoint a running container
7
8
9
11 runc checkpoint [option ...] container-id
12
13
14
16 The checkpoint command saves the state of the running container in‐
17 stance with the help of criu(8) tool, to be restored later.
18
19
20
22 --image-path path
23 Set path for saving criu image files. The default is ./check‐
24 point.
25
26
27 --work-path path
28 Set path for saving criu work files and logs. The default is to
29 reuse the image files directory.
30
31
32 --parent-path path
33 Set path for previous criu image files, in pre-dump.
34
35
36 --leave-running
37 Leave the process running after checkpointing.
38
39
40 --tcp-established
41 Allow checkpoint/restore of established TCP connections. See
42 criu --tcp-establised option ⟨https://criu.org/CLI/opt/--tcp-es‐
43 tablished⟩.
44
45
46 --ext-unix-sk
47 Allow checkpoint/restore of external unix sockets. See criu
48 --ext-unix-sk option ⟨https://criu.org/CLI/opt/--ext-unix-sk⟩.
49
50
51 --shell-job
52 Allow checkpoint/restore of shell jobs.
53
54
55 --lazy-pages
56 Use lazy migration mechanism. See criu --lazy-pages option
57 ⟨https://criu.org/CLI/opt/--lazy-pages⟩.
58
59
60 --status-fd fd
61 Pass a file descriptor fd to criu. Once lazy-pages server is
62 ready, criu writes \0 (a zero byte) to that fd. Used together
63 with --lazy-pages.
64
65
66 --page-server IP-address:port
67 Start a page server at the specified IP-address and port. This
68 is used together with criu lazy-pages. See criu lazy migration
69 ⟨https://criu.org/Lazy_migration⟩.
70
71
72 --file-locks
73 Allow checkpoint/restore of file locks. See criu --file-locks
74 option ⟨https://criu.org/CLI/opt/--file-locks⟩.
75
76
77 --pre-dump
78 Do a pre-dump, i.e. dump container's memory information only,
79 leaving the container running. See criu iterative migration
80 ⟨https://criu.org/Iterative_migration⟩.
81
82
83 --manage-cgroups-mode soft|full|strict.
84 Cgroups mode. Default is soft. See criu --manage-cgroups option
85 ⟨https://criu.org/CLI/opt/--manage-cgroups⟩.
86
87
88 --empty-ns namespace
89 Checkpoint a namespace, but don't save its properties. See criu
90 --empty-ns option ⟨https://criu.org/CLI/opt/--empty-ns⟩.
91
92
93 --auto-dedup
94 Enable auto deduplication of memory images. See criu --auto-
95 dedup option ⟨https://criu.org/CLI/opt/--auto-dedup⟩.
96
97
98
100 criu(8), runc-restore(8), runc(8), criu(8).
101
102
103
104 runc-checkpoint(8)