Created
May 6, 2015 05:18
-
-
Save boucher/06439aa19b8e0c195217 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var container = await docker.createContainerAsync(options); | |
// FIXME we need to be checkpointed before we can restore | |
await container.startAsync(); | |
await container.checkpointAsync({}) | |
await container.restoreAsync({ | |
ImagesDirectory: getCheckpointPath(request.URL, lastChecksum) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment