Changes

Jump to: navigation, search

Docker

379 bytes added, 21:21, 19 March 2015
no edit summary
Docker daemon. After checkpoint, the Docker daemon thinks that the
container has exited. After restore, the Docker daemon doesn't know that
the container is running again. Therefore, commands such as ''=== <code>docker ps'', stop, kill</code> === and ''docker === <code>logs'' </code> ===will not work correctly.
External C/R was done as a proof-of-concept.
'''Native C/R''' using ''the newly added === <code>docker checkpoint'' </code> === and ''=== <code>docker restore'' </code> === commands.
Because the Docker daemon is involved in both checkpoint and restore,
its notion of the container state will be consistent and all commands such as''=== <code>docker ps'' , stop, kill </code> === and ''docker === <code>logs'' </code> ===will work.This is obviously the preferred method of checkpointing and restoring Docker containers.
Native C/R is work in progress, say pre-alpha quality. You can
[https://github.com/SaiedKazemi/docker/tree/cr repo].
Work in underway to integrate C/R into the new libcontainer.
 
For native C/R support, additional functionality was added to CRIU.
The most notable addition is the === <code>--inherit-fd</code> ===
command line option.
== External C/R ==
26
edits

Navigation menu