Store the checkpoint and restore logs in the same directory as the (#253)
checkpoint image itself. Signed-off-by: Ross Boucher <rboucher@gmail.com>
This commit is contained in:
parent
16a8dfe6a8
commit
cf554d59dd
2 changed files with 3 additions and 1 deletions
|
@ -351,6 +351,7 @@ func (c *container) Checkpoint(cpt Checkpoint, checkpointDir string) error {
|
|||
args := []string{
|
||||
"checkpoint",
|
||||
"--image-path", path,
|
||||
"--work-path", filepath.Join(path, "criu.work"),
|
||||
}
|
||||
add := func(flags ...string) {
|
||||
args = append(args, flags...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue