Skip to content

Commit 38abddc

Browse files
committed
Enable passing the --auto-dedup flag
Signed-off-by: Martin Terneborg <[email protected]>
1 parent 16b287b commit 38abddc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: runc.go

+5
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,11 @@ func PreDump(args []string) []string {
513513
return append(args, "--pre-dump")
514514
}
515515

516+
// AutoDedup enables auto deduplication of memory images
517+
func AutoDedup(args []string) []string {
518+
return append(args, "--auto-dedup")
519+
}
520+
516521
// Checkpoint allows you to checkpoint a container using criu
517522
func (r *Runc) Checkpoint(context context.Context, id string, opts *CheckpointOpts, actions ...CheckpointAction) error {
518523
args := []string{"checkpoint"}

0 commit comments

Comments
 (0)