summaryrefslogtreecommitdiff
path: root/test/e2e/container_inspect_test.go
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2019-11-28 19:04:35 +0000
committerAdrian Reber <areber@redhat.com>2019-11-28 20:25:45 +0100
commit5e43c7cde1da185f3a9dc4f949e778b087d4ea42 (patch)
treeb5c48de998e469a17ca94788db81bceb0a289865 /test/e2e/container_inspect_test.go
parentaa95726c98385fb75bc70b6de7a86c09ed74abd5 (diff)
downloadpodman-5e43c7cde1da185f3a9dc4f949e778b087d4ea42.tar.gz
podman-5e43c7cde1da185f3a9dc4f949e778b087d4ea42.tar.bz2
podman-5e43c7cde1da185f3a9dc4f949e778b087d4ea42.zip
Disable checkpointing of containers started with --rm
Trying to checkpoint a container started with --rm works, but it makes no sense as the container, including the checkpoint, will be deleted after writing the checkpoint. This commit inhibits checkpointing containers started with '--rm' unless '--export' is used. If the checkpoint is exported it can easily be restored from the exported checkpoint, even if '--rm' is used. To restore a container from a checkpoint it is even necessary to manually run 'podman rm' if the container is not started with '--rm'. Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'test/e2e/container_inspect_test.go')
0 files changed, 0 insertions, 0 deletions