diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-07 14:33:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 14:33:20 +0200 |
commit | 346128792c9079d0092de4d84c16d63ce7df4515 (patch) | |
tree | 6048bf93558e5f7928cbb10690e3f88b3d975f5e /docs/podman-container-restore.1.md | |
parent | ba36a5f4461abfa2a2818b756bda4d6e609f6de6 (diff) | |
parent | bef83c42eaacd83fb5020395f1bbdeb9a6f0f220 (diff) | |
download | podman-346128792c9079d0092de4d84c16d63ce7df4515.tar.gz podman-346128792c9079d0092de4d84c16d63ce7df4515.tar.bz2 podman-346128792c9079d0092de4d84c16d63ce7df4515.zip |
Merge pull request #2272 from adrianreber/migration
Add support to migrate containers
Diffstat (limited to 'docs/podman-container-restore.1.md')
-rw-r--r-- | docs/podman-container-restore.1.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/podman-container-restore.1.md b/docs/podman-container-restore.1.md index e41f7c1d8..5efc280fe 100644 --- a/docs/podman-container-restore.1.md +++ b/docs/podman-container-restore.1.md @@ -42,6 +42,24 @@ If the checkpoint image does not contain established TCP connections this option is ignored. Defaults to not restoring containers with established TCP connections. +**--import, -i** + +Import a checkpoint tar.gz file, which was exported by Podman. This can be used +to import a checkpointed container from another host. It is not necessary to specify +a container when restoring from an exported checkpoint. + +**--name, -n** + +This is only available in combination with **--import, -i**. If a container is restored +from a checkpoint tar.gz file it is possible to rename it with **--name, -n**. This +way it is possible to restore a container from a checkpoint multiple times with different +names. + +If the **--name, -n** option is used, Podman will not attempt to assign the same IP +address to the container it was using before checkpointing as each IP address can only +be used once and the restored container will have another IP address. This also means +that **--name, -n** cannot be used in combination with **--tcp-established**. + ## EXAMPLE podman container restore mywebserver |