1runc-restore(8)             System Manager's Manual            runc-restore(8)
2
3
4

NAME

6       runc-restore - restore a container from a previous checkpoint
7
8
9

SYNOPSIS

11       runc restore [option ...] container-id
12
13
14

DESCRIPTION

16       Restores the container instance from a previously performed runc check‐
17       point.
18
19
20

OPTIONS

22       --console-socket path
23              Path to an AF_UNIX  socket which will receive a file  descriptor
24              referencing the master end of the console's pseudoterminal.  See
25              docs/terminals ⟨https://github.com/opencontainers/runc/blob/mas
26              ter/docs/terminals.md⟩.
27
28
29       --image-path path
30              Set path to get criu image files to restore from.
31
32
33       --work-path path
34              Set  path for saving criu work files and logs. The default is to
35              reuse the image files directory.
36
37
38       --tcp-established
39              Allow checkpoint/restore of  established  TCP  connections.  See
40              criu --tcp-establised option ⟨https://criu.org/CLI/opt/--tcp-es
41              tablished⟩.
42
43
44       --ext-unix-sk
45              Allow checkpoint/restore of  external  unix  sockets.  See  criu
46              --ext-unix-sk option ⟨https://criu.org/CLI/opt/--ext-unix-sk⟩.
47
48
49       --shell-job
50              Allow checkpoint/restore of shell jobs.
51
52
53       --file-locks
54              Allow  checkpoint/restore  of  file locks. See criu --file-locks
55              option ⟨https://criu.org/CLI/opt/--file-locks⟩.
56
57
58       --manage-cgroups-mode soft|full|strict.
59              Cgroups mode. Default is soft. See criu --manage-cgroups  option
60https://criu.org/CLI/opt/--manage-cgroups⟩.
61
62
63       --bundle|-b path
64              Path to the root of the bundle directory. Default is current di‐
65              rectory.
66
67
68       --detach|-d
69              Detach from the container's process.
70
71
72       --pid-file path
73              Specify the file to write the initial container process' PID to.
74
75
76       --no-subreaper
77              Disable the use of the subreaper used to  reap  reparented  pro‐
78              cesses.
79
80
81       --no-pivot
82              Do not use pivot root to jail process inside rootfs. This should
83              not be used except in exceptional circumstances, and may be  un‐
84              safe from the security standpoint.
85
86
87       --empty-ns namespace
88              Create  a  namespace, but don't restore its properties. See criu
89              --empty-ns option ⟨https://criu.org/CLI/opt/--empty-ns⟩.
90
91
92       --auto-dedup
93              Enable auto deduplication of memory  images.  See  criu  --auto-
94              dedup option ⟨https://criu.org/CLI/opt/--auto-dedup⟩.
95
96
97       --lazy-pages
98              Use lazy migration mechanism. This requires a running criu lazy-
99              pages     daemon.     See     criu      --lazy-pages      option
100https://criu.org/CLI/opt/--lazy-pages⟩.
101
102
103       --lsm-profile type:label
104              Specify  an LSM profile to be used during restore. Here type can
105              either be apparamor or selinux, and label is a valid LSM  label.
106              For   example,   --lsm-profile   "selinux:system_u:system_r:con‐
107              tainer_t:s0:c82,c137".  By default, the checkpointed LSM profile
108              is used upon restore.
109
110
111       --lsm-mount-context context
112              Specify  an  LSM  mount  context to be used during restore. Only
113              mounts with an existing context  will  have  their  context  re‐
114              placed.  With this option it is possible to change SELinux mount
115              options. Instead of mounting with the checkpointed context,  the
116              specified  context  will be used.  For example, --lsm-mount-con‐
117              text "system_u:object_r:container_file_t:s0:c82,c137".
118
119
120

SEE ALSO

122       criu(8), runc-checkpoint(8), runc(8).
123
124
125
126                                                               runc-restore(8)
Impressum