summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-19 02:38:26 +0200
committerGitHub <noreply@github.com>2019-07-19 02:38:26 +0200
commitdeb087d7b173832138c2e46ab4b7b626a98a910c (patch)
treea9d93d164fe83ba7229d17fd593639b7883fd8a2 /libpod/container_api.go
parentb59abdc1b1cf72d86d3fe6bb76ba646870c86ed6 (diff)
parentc70657a6d1fc15ba60d4bb0fc197f4c70fa59cac (diff)
downloadpodman-deb087d7b173832138c2e46ab4b7b626a98a910c.tar.gz
podman-deb087d7b173832138c2e46ab4b7b626a98a910c.tar.bz2
podman-deb087d7b173832138c2e46ab4b7b626a98a910c.zip
Merge pull request #3443 from adrianreber/rootfs-changes-migration
Include changes to the container's root file-system in the checkpoint archive
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index ae181887e..6f530f75f 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -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