mirror of
https://github.com/containers/podman.git
synced 2025-09-19 21:50:07 +08:00
Merge pull request #3443 from adrianreber/rootfs-changes-migration
Include changes to the container's root file-system in the checkpoint archive
This commit is contained in:
@ -801,15 +801,16 @@ type ContainerCheckpointOptions struct {
|
||||
// TCPEstablished tells the API to checkpoint a container
|
||||
// even if it contains established TCP connections
|
||||
TCPEstablished bool
|
||||
// Export tells the API to write the checkpoint image to
|
||||
// the filename set in TargetFile
|
||||
// Import tells the API to read the checkpoint image from
|
||||
// the filename set in TargetFile
|
||||
// TargetFile tells the API to read (or write) the checkpoint image
|
||||
// from (or to) the filename set in TargetFile
|
||||
TargetFile string
|
||||
// Name tells the API that during restore from an exported
|
||||
// checkpoint archive a new name should be used for the
|
||||
// restored container
|
||||
Name string
|
||||
// IgnoreRootfs tells the API to not export changes to
|
||||
// the container's root file-system (or to not import)
|
||||
IgnoreRootfs bool
|
||||
}
|
||||
|
||||
// Checkpoint checkpoints a container
|
||||
|
Reference in New Issue
Block a user