diff options
author | Radostin Stoyanov <radostin@redhat.com> | 2021-11-17 11:53:12 +0000 |
---|---|---|
committer | Radostin Stoyanov <radostin@redhat.com> | 2021-11-18 19:23:25 +0000 |
commit | 6d23ea60d255b750a8e221cb9964f552218d4297 (patch) | |
tree | a2e207973ec2314a550147a3feb1d12c3810ad4a /pkg/domain/infra/abi | |
parent | 0376e6092c850435b4740876045fdccb467cafd8 (diff) | |
download | podman-6d23ea60d255b750a8e221cb9964f552218d4297.tar.gz podman-6d23ea60d255b750a8e221cb9964f552218d4297.tar.bz2 podman-6d23ea60d255b750a8e221cb9964f552218d4297.zip |
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 <radostin@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r-- | pkg/domain/infra/abi/containers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index 69c628669..e04c7a38a 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -516,6 +516,7 @@ func (ic *ContainerEngine) ContainerCheckpoint(ctx context.Context, namesOrIds [ WithPrevious: options.WithPrevious, Compression: options.Compression, PrintStats: options.PrintStats, + FileLocks: options.FileLocks, } if options.All { |