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

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -