Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Docker
(edit)
Revision as of 21:09, 19 March 2015
74 bytes added
,
21:09, 19 March 2015
no edit summary
Line 1:
Line 1:
This HOWTO page describes how to checkpoint and restore a Docker container.
This HOWTO page describes how to checkpoint and restore a Docker container.
−
==
Background
==
+
==
Introduction
==
−
1.
External C/R: Using CRIU directly on the command line as it's typically
+
There are two ways to checkpoint and restore a Docker container:
+
+
'''
External C/R:
'''
Using CRIU directly on the command line as it's typically
done. This is called external because it's happening external to the
done. This is called external because it's happening external to the
Docker daemon. After checkpoint, the Docker daemon thinks that the
Docker daemon. After checkpoint, the Docker daemon thinks that the
Line 12:
Line 14:
External C/R was done as a proof-of-concept.
External C/R was done as a proof-of-concept.
−
2.
Native C/R: Using ''docker checkpoint'' and ''docker restore'' commands.
+
'''
Native C/R:
'''
Using ''docker checkpoint'' and ''docker restore'' commands.
Because the Docker daemon is involved in both checkpoint and restore,
Because the Docker daemon is involved in both checkpoint and restore,
its notion of the container state will be consistent and commands such as
its notion of the container state will be consistent and commands such as
Saied Kazemi
26
edits