Line 151: |
Line 151: |
| == Restore Prework for External C/R == | | == Restore Prework for External C/R == |
| | | |
− | As mentioned earlier, by default Docker uses AUFS to set up the
| + | Docker supports many storage drivers (AKA graph drivers) including |
− | container's filesystem. When Docker notices that the process has
| + | AUFS, Btrfs, ZFS, DeviceMapper, OverlayFS, and VFS. The user can |
− | exited (due to CRIU dump), it dismantles the filesystem. We need | + | specify his/her desired storage driver via the <code>DOCKER_DRIVER</code> |
− | to set up the filesystem again before attempting to restore. | + | environment variable or the <code>-s (--storage-driver)</code> command |
| + | line option. |
| + | |
| + | Currently C/R can only be done on containers using either AUFS, OverlayFS, or VFS. |
| + | In the following example, we assume AUFS. |
| + | |
| + | When Docker notices that the container has exited (due to CRIU dump), |
| + | it dismantles the container's filesystem. We need to set up the container's |
| + | filesystem again before attempting to restore. |
| | | |
| == An External C/R Example == | | == An External C/R Example == |