From 6d23ea60d255b750a8e221cb9964f552218d4297 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Wed, 17 Nov 2021 11:53:12 +0000 Subject: Add --file-locks checkpoint/restore option CRIU supports checkpoint/restore of file locks. This feature is required to checkpoint/restore containers running applications such as MySQL. Signed-off-by: Radostin Stoyanov --- pkg/domain/entities/containers.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/domain/entities/containers.go') diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index 1a4019bb1..1677c067f 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -191,6 +191,7 @@ type CheckpointOptions struct { WithPrevious bool Compression archive.Compression PrintStats bool + FileLocks bool } type CheckpointReport struct { @@ -215,6 +216,7 @@ type RestoreOptions struct { PublishPorts []string Pod string PrintStats bool + FileLocks bool } type RestoreReport struct { -- cgit v1.2.3-54-g00ecf