Changes
Jump to navigation
Jump to search
← 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
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ