summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-05 16:11:50 +0200
committerGitHub <noreply@github.com>2019-08-05 16:11:50 +0200
commit337358ae63f5b6c5f73ee399918aa4b7c8059f85 (patch)
tree3643893b3e1f53f282cd0f42f3b1d30eec47cf1e /libpod/container_api.go
parentfff496436e89a290fd37b357419fd0f072ad5e88 (diff)
parentc23b92b4090d1aab96ddde2c897db8869eb6261e (diff)
downloadpodman-337358ae63f5b6c5f73ee399918aa4b7c8059f85.tar.gz
podman-337358ae63f5b6c5f73ee399918aa4b7c8059f85.tar.bz2
podman-337358ae63f5b6c5f73ee399918aa4b7c8059f85.zip
Merge pull request #3690 from adrianreber/ignore-static-ip
restore: added --ignore-static-ip option
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index ef9c3f006..abcfcb271 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -773,6 +773,11 @@ type ContainerCheckpointOptions struct {
// IgnoreRootfs tells the API to not export changes to
// the container's root file-system (or to not import)
IgnoreRootfs bool
+ // IgnoreStaticIP tells the API to ignore the IP set
+ // during 'podman run' with '--ip'. This is especially
+ // important to be able to restore a container multiple
+ // times with '--import --name'.
+ IgnoreStaticIP bool
}
// Checkpoint checkpoints a container