Merge the criu branch, and the swrk branch, and add support for more criu options#1
Open
boucher wants to merge 16 commits intolibcontainer-masterfrom
Open
Merge the criu branch, and the swrk branch, and add support for more criu options#1boucher wants to merge 16 commits intolibcontainer-masterfrom
boucher wants to merge 16 commits intolibcontainer-masterfrom
Conversation
Containers support checkpointing and restore via criu(8) for linux containers. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Also use pipes for non tty so that the parent's tty of the nsinit process does not leak into the conatiner. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This is work in progress, integrating C/R support from https://github.com/SaiedKazemi/docker/tree/cr into the new libcontainer and nsinit. Signed-off-by: Saied Kazemi <saied@google.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
In this case CRIU will exit after restoring processes. Here is no reason to wait the init process. Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
criu swrk is a special mode when we don't want to execute a service, but want to use RPC. Here is more details: http://lists.openvz.org/pipermail/criu/2015-March/019400.html Another good feature of this mode is that we don't need to create action scripts and we will be able to remove the hack with saving StdFds. criu swrk is supported starting with CRIU 1.5.1. Signed-off-by: Andrey Vagin <avagin@openvz.org>
CRIU version must be 1.5.1 or higher Signed-off-by: Andrey Vagin <avagin@openvz.org>
This directory can be removed when criu completes. Signed-off-by: Andrey Vagin <avagin@openvz.org>
Everything must be in vendor/ Signed-off-by: Andrey Vagin <avagin@openvz.org>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also, make changes required to integrate back into Docker. See:
boucher/docker#1