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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -