summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-container-checkpoint.1.md
diff options
context:
space:
mode:
authorunknown <chen_zhuohan@163.com>2021-01-10 18:12:12 +0800
committerunknown <chen_zhuohan@163.com>2021-01-10 21:38:28 +0800
commit2aa381f2d0cdc8abb28aa8759c681198cb1e47a7 (patch)
tree3788c56606e3396d00d91b44f0eeba2d92542221 /docs/source/markdown/podman-container-checkpoint.1.md
parent49db79e735acd2c693762eaff62680cd9a8cb60b (diff)
downloadpodman-2aa381f2d0cdc8abb28aa8759c681198cb1e47a7.tar.gz
podman-2aa381f2d0cdc8abb28aa8759c681198cb1e47a7.tar.bz2
podman-2aa381f2d0cdc8abb28aa8759c681198cb1e47a7.zip
add pre checkpoint
Signed-off-by: Zhuohan Chen <chen_zhuohan@163.com>
Diffstat (limited to 'docs/source/markdown/podman-container-checkpoint.1.md')
-rw-r--r--docs/source/markdown/podman-container-checkpoint.1.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-container-checkpoint.1.md b/docs/source/markdown/podman-container-checkpoint.1.md
index 6a9469156..ea05979cd 100644
--- a/docs/source/markdown/podman-container-checkpoint.1.md
+++ b/docs/source/markdown/podman-container-checkpoint.1.md
@@ -58,12 +58,26 @@ This option must be used in combination with the **--export, -e** option.
When this option is specified, the content of volumes associated with
the container will not be included into the checkpoint tar.gz file.
+#### **--pre-checkpoint**, **-P**
+
+Dump the container's memory information only, leaving the container running. Later
+operations will supersede prior dumps. It only works on runc 1.0-rc3 or higher.
+
+#### **--with-previous**
+
+Check out the container with previous criu image files in pre-dump. It only works
+without **--pre-checkpoint** or **-P**. It only works on runc 1.0-rc3 or higher.
+
## EXAMPLE
podman container checkpoint mywebserver
podman container checkpoint 860a4b23
+podman container checkpoint -P -e pre-checkpoint.tar.gz -l
+
+podman container checkpoint --with-previous -e checkpoint.tar.gz -l
+
## SEE ALSO
podman(1), podman-container-restore(1)