You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "The checkpoint command description and usage"
4
+
keywords: experimental, checkpoint, restore, criu
5
+
experimental: true
6
+
---
2
7
3
-
Checkpoint & Restore is a new feature that allows you to freeze a running
8
+
## Description
9
+
10
+
Checkpoint and Restore is an experimental feature that allows you to freeze a running
4
11
container by checkpointing it, which turns its state into a collection of files
5
12
on disk. Later, the container can be restored from the point it was frozen.
6
13
@@ -9,16 +16,16 @@ external dependency of this feature. A good overview of the history of
9
16
checkpoint and restore in Docker is available in this
10
17
[Kubernetes blog post](https://kubernetes.io/blog/2015/07/how-did-quake-demo-from-dockercon-work/).
11
18
12
-
## Installing CRIU
19
+
###Installing CRIU
13
20
14
21
If you use a Debian system, you can add the CRIU PPA and install with apt-get
15
22
[from the criu launchpad](https://launchpad.net/~criu/+archive/ubuntu/ppa).
16
23
17
-
Alternatively, you can [build CRIU from source](http://criu.org/Installation).
24
+
Alternatively, you can [build CRIU from source](https://criu.org/Installation).
18
25
19
26
You need at least version 2.0 of CRIU to run checkpoint/restore in Docker.
20
27
21
-
## Use cases for checkpoint & restore
28
+
###Use cases for checkpoint & restore
22
29
23
30
This feature is currently focused on single-host use cases for checkpoint and
24
31
restore. Here are a few:
@@ -33,7 +40,7 @@ migration of a server from one machine to another. This is possible with the
33
40
current implementation, but not currently a priority (and so the workflow is
34
41
not optimized for the task).
35
42
36
-
## Using checkpoint & restore
43
+
###Using checkpoint & restore
37
44
38
45
A new top level command `docker checkpoint` is introduced, with three subcommands:
39
46
-`create` (creates a new checkpoint)
@@ -44,45 +51,51 @@ Additionally, a `--checkpoint` flag is added to the container start command.
0 commit comments