Files
podman/libpod
Adrian Reber bef83c42ea migration: add possibility to restore a container with a new name
The option to restore a container from an external checkpoint archive
(podman container restore -i /tmp/checkpoint.tar.gz) restores a
container with the same name and same ID as id had before checkpointing.

This commit adds the option '--name,-n' to 'podman container restore'.
With this option the restored container gets the name specified after
'--name,-n' and a new ID. This way it is possible to restore one
container multiple times.

If a container is restored with a new name Podman will not try to
request the same IP address for the container as it had during
checkpointing. This implicitly assumes that if a container is restored
from a checkpoint archive with a different name, that it will be
restored multiple times and restoring a container multiple times with
the same IP address will fail as each IP address can only be used once.

Signed-off-by: Adrian Reber <areber@redhat.com>
2019-06-04 14:02:51 +02:00
..
2018-08-16 17:12:36 +00:00
2017-11-01 11:24:59 -04:00
2019-01-18 15:43:11 -06:00
2019-01-18 15:43:11 -06:00
2019-05-28 11:10:57 -04:00
2019-05-28 11:10:57 -04:00
2019-05-13 08:33:51 -05:00
2019-04-30 15:28:39 -05:00
2019-03-28 15:12:26 +01:00
2019-05-28 11:10:57 -04:00
2019-05-28 11:10:57 -04:00
2019-05-28 11:10:57 -04:00
2018-08-23 15:01:17 +00:00
2019-01-04 09:51:09 -05:00
2018-08-23 18:16:28 +00:00
2019-03-13 12:10:35 -05:00
2018-10-03 12:45:37 -05:00
2018-03-14 20:21:31 +00:00
2019-01-21 15:23:30 -06:00
2019-02-21 10:51:42 -05:00