use case for docker pause/unpause

1,799 views
Skip to first unread message

jude m

unread,
Sep 13, 2014, 4:26:10 AM9/13/14
to docke...@googlegroups.com
Hello All,

Would you please help me understand few use case for docker pause/unpause? 

Is it possible to move a running container from one system to another, like vmotion?

Thanks,
Jeeva

Michael Crosby

unread,
Sep 13, 2014, 4:18:20 PM9/13/14
to jude m, docke...@googlegroups.com
Yes, it is the beginning to support live migrations of containers but is still useful on it's own, taking backups without a live process still writing files or releasing cpu resources for another container.

--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,


-----------------------------------------
Michael Crosby
@crosbymichael

James Mills

unread,
Sep 13, 2014, 5:41:12 PM9/13/14
to Michael Crosby, jude m, docker-dev

On Sun, Sep 14, 2014 at 6:17 AM, Michael Crosby <crosby....@gmail.com> wrote:
Yes, it is the beginning to support live migrations of containers but is still useful on it's own, taking backups without a live process still writing files or releasing cpu resources for another container.

Are the low-level tools "pause"/"unpause" enough to do live mgirations even now
across different hosts? What would be involved? pause, export,
import (on the other host), unpaise?

cheers

Michal Gryko

unread,
Sep 15, 2014, 2:57:50 AM9/15/14
to James Mills, Michael Crosby, jude m, docker-dev
Hi,
It's not yet possible to do full live migration, some people experiment with CRIU but it's not yet ready for live migration of docker container. But check https://github.com/jpetazzo/critmux you will find there good example of using CRIU inside container to save process state. With few scripts it should be possible to move saved state to different container made from same image and restore it there. But I never tested it and don't know how it will react.

--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Michal Gryko your devoted sysadmin :)

nicolas de loof

unread,
Sep 15, 2014, 3:00:37 AM9/15/14
to Michal Gryko, James Mills, Michael Crosby, jude m, docker-dev
I wonder if docker could support live migration, like kvm/openstack do.

James Mills

unread,
Sep 15, 2014, 3:59:33 AM9/15/14
to nicolas de loof, Michal Gryko, Michael Crosby, jude m, docker-dev
Nice thanks guys. Be interesting to see how this pans out.

Sven Dowideit

unread,
Sep 16, 2014, 12:10:43 AM9/16/14
to docke...@googlegroups.com
Another possible use is to pause resource intensive tasks that you can resume at a later date

heavy computations, or maybe just a runaway browser.

Sven
Reply all
Reply to author
Forward
0 new messages