It is possible to hibernate an LXC container?

Posted by Jo-Erlend Schinstad on Ask Ubuntu See other posts from Ask Ubuntu or by Jo-Erlend Schinstad
Published on 2014-06-07T17:54:40Z Indexed on 2014/06/07 21:37 UTC
Read the original article Hit count: 433

Filed under:
|
|

I know about lxc-freeze and lxc-unfreeze, but as I understand it, these simply pauses the container, similar to sending SIGSTOP and SIGCONT to a process. If I reboot the host, then the containers will cease to exist, right?

I would really like a way to save state to persistent storage so that I could resume them at some later time, even the host is rebooted or something like that. I can achieve exactly what I want using VirtualBox by using the "Save machine state" mechanism, but if I could do it with LXC, it would be completely awesome.

© Ask Ubuntu or respective owner

Related posts about hibernate

Related posts about lxc