mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
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>
This commit is contained in:
@ -798,6 +798,9 @@ type ContainerCheckpointOptions struct {
|
||||
// how much time each component in the stack requires to
|
||||
// checkpoint a container.
|
||||
PrintStats bool
|
||||
// FileLocks tells the API to checkpoint/restore a container
|
||||
// with file-locks
|
||||
FileLocks bool
|
||||
}
|
||||
|
||||
// Checkpoint checkpoints a container
|
||||
|
Reference in New Issue
Block a user