python - Container live migration -
i want move running container host host docker. using docker checkpoint create
command, , thing creates checkpoints root, , cannot touch them in python. there anyway either force docker create files user, or scp root-made files within python?
when colleague , gave live migration talk , demo @ openstack summit barcelona, used sudo
on tar command extract created checkpoint file in /tmp
, used ssh/scp host. isn't perfect answer of course still need root permissions access created checkpoint within docker's metadata directory, shows @ least extract 1 root-requiring action separate privileged script, rest of migration requiring "normal" access docker client commands.
you can see our migration script example here: https://github.com/stmuraka/container-migration/blob/master/examples/migrateexample.sh
Comments
Post a Comment