spiegel_podman/pkg
Adrian Reber 0028578b43
Added support to migrate containers
This commit adds an option to the checkpoint command to export a
checkpoint into a tar.gz file as well as importing a checkpoint tar.gz
file during restore. With all checkpoint artifacts in one file it is
possible to easily transfer a checkpoint and thus enabling container
migration in Podman. With the following steps it is possible to migrate
a running container from one system (source) to another (destination).

 Source system:
  * podman container checkpoint -l -e /tmp/checkpoint.tar.gz
  * scp /tmp/checkpoint.tar.gz destination:/tmp

 Destination system:
  * podman pull 'container-image-as-on-source-system'
  * podman container restore -i /tmp/checkpoint.tar.gz

The exported tar.gz file contains the checkpoint image as created by
CRIU and a few additional JSON files describing the state of the
checkpointed container.

Now the container is running on the destination system with the same
state just as during checkpointing. If the container is kept running
on the source system with the checkpoint flag '-R', the result will be
that the same container is running on two different hosts.

Signed-off-by: Adrian Reber <areber@redhat.com>
2019-06-03 22:05:12 +02:00
..
adapter Added support to migrate containers 2019-06-03 22:05:12 +02:00
annotations Update cri-o annotations 2019-04-01 11:10:54 +02:00
apparmor apparmor: don't load default profile in rootless mode 2019-01-29 10:38:52 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime ctime: Drop 32-/64-bit distinction on Linux 2018-07-07 20:35:00 +00:00
firewall Replace existing iptables handler with firewall code 2018-09-10 18:53:27 +00:00
hooks s|kubernetes-sigs/cri-o|cri-o/cri-o|g 2019-05-17 11:10:09 -04:00
inspect Added --log-driver and journald logging 2019-05-28 11:10:57 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs Merge pull request #2522 from mheon/fix_timestamp_format_logs 2019-03-04 13:52:21 -08:00
lookup pkg/lookup: Return ID-only pointers on ErrNo*Entries 2018-12-04 14:46:43 -08:00
namespaces userns: add new option --userns=keep-id 2019-05-24 17:34:12 +02:00
netns Fix godoc comment in pkg/netns 2018-07-27 02:48:16 +00:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries Update vendor of buildah and containers/images 2019-05-20 13:39:40 -04:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: use TEMP_FAILURE_RETRY macro 2019-05-31 22:05:25 +02:00
spec Merge pull request #3238 from mheon/no_tmpcopyup_dev 2019-05-31 04:15:31 +02:00
sysinfo apparmor: apply default profile at container initialization 2019-01-09 22:18:11 +01:00
systemdgen add unit tests for generate systemd 2019-05-06 09:14:10 -05:00
tracing OpenTracing support added to start, stop, run, create, pull, and ps 2019-02-18 09:57:08 -05:00
trust Fix up image sign in PR 2108 2019-01-15 12:25:10 -05:00
util userns: add new option --userns=keep-id 2019-05-24 17:34:12 +02:00
varlinkapi Merge pull request #3081 from baude/remotecommit 2019-06-03 20:58:13 +02:00