Changes

335 bytes removed ,  22:21, 31 March 2017
rewording
Line 1: Line 1: −
This HOWTO page describes how to checkpoint and restore a Docker container.
+
This article describes the status of CRIU integration with Docker, and how to use it.
 
  −
== Introduction ==
  −
 
  −
Docker wants to manage the full lifecycle of processes running inside one if its containers, which makes it important for CRIU and Docker to work closely together when trying to checkpoint and restore a container. This is being achieved by adding the ability to checkpoint and restore directly into Docker itself, powered under the hood by CRIU. This integration is a work in progress, and its status will be outlined below.  
      
== Docker Experimental ==
 
== Docker Experimental ==
   −
Checkpoint & Restore is now available in the ''experimental'' runtime mode for Docker. It is available since Docker 1.13, so every later version (like Docker 17.03) has it.
+
Naturally, Docker wants to manage the full lifecycle of processes running inside its containers, so CRIU should be run by Docker (rather than separately).
 +
This feature is available in the ''experimental'' mode for Docker (since Docker 1.13, so every later version, like Docker 17.03, should work).
    
To enable experimental features (incl. CRIU), you need to do something like this:
 
To enable experimental features (incl. CRIU), you need to do something like this:
Line 14: Line 11:  
  systemctl restart docker
 
  systemctl restart docker
   −
=== Dependencies ===
+
In addition to having a recent version of Docker, you need '''CRIU''' 2.0 or later installed on your system (see [[Installation]] for more info).
 
  −
In addition to installing version 1.13+ of Docker, you need '''CRIU''' 2.0 or later installed on your system (see [[Installation]] for more info).
      
=== checkpoint ===  
 
=== checkpoint ===