from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209612

userrating:


May 25th. 2007:
Words

486

Views

258612

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149912

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





run-restore

Section: Misc. Reference Manual Pages (8)
Index Return to Main Contents

 

NAME

run-restore - restore a container from a previous checkpoint

 

SYNOPSIS

runc restore [option ...] containe-id

 

DESCRIPTION

Restores the container instance from a previously performed runc checkpoint.

 

OPTIONS

-consol-socket path
Path to an AF_UNIX socket which will receive a file descriptor referencing the master end of the console's pseudoterminal. See docs/terminals [la]https://github.com/opencontainers/runc/blob/master/docs/terminals.md[ra].

-imag-path path
Set path to get criu image files to restore from.

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

-tc-established
Allow checkpoint/restore of established TCP connections. See criu-tc-establised option [la]https://criu.org/CLI/opt/--tcp-established[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.

-fil-locks
Allow checkpoint/restore of file locks. See criu-fil-locks option [la]https://criu.org/CLI/opt/--file-locks[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].

In particular, to restore the container into a different cgroup, -manag-cgroup-mode ignore must be used during both checkpoint and restore, and the _containerid (or cgroupsPath property in OCI config, if set) must be changed.

-bundle|-b path
Path to the root of the bundle directory. Default is current directory.

-detach|-d
Detach from the container's process.

-pi-file path
Specify the file to write the initial container process' PID to.

-n-subreaper
Disable the use of the subreaper used to reap reparented processes.

-n-pivot
Do not use pivot root to jail process inside rootfs. This should not be used except in exceptional circumstances, and may be unsafe from the security standpoint.

-empt-ns namespace
Create a namespace, but don't restore 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].

-laz-pages
Use lazy migration mechanism. This requires a running criu laz-pages daemon. See criu-laz-pages option [la]https://criu.org/CLI/opt/--lazy-pages[ra].

-ls-profile type:label
Specify an LSM profile to be used during restore. Here type can either be apparamor or selinux, and label is a valid LSM label. For example, -ls-profile "selinux:system_u:system_r:container_t:s0:c82,c137". By default, the checkpointed LSM profile is used upon restore.

-ls-moun-context context
Specify an LSM mount context to be used during restore. Only mounts with an existing context will have their context replaced. With this option it is possible to change SELinux mount options. Instead of mounting with the checkpointed context, the specified context will be used. For example, -ls-moun-context "system_u:object_r:container_file_t:s0:c82,c137".

 

SEE ALSO

criu(8), run-checkpoint(8), runc(8).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.5 ms