[lxc-users] About checkpoint and restore
Tycho Andersen
tycho.andersen at canonical.com
Wed Jun 15 16:25:48 UTC 2016
On Wed, Jun 15, 2016 at 09:39:58AM -0400, Xinyang Ge wrote:
> On Tue, Jun 14, 2016 at 11:05 PM, Fajar A. Nugraha <list at fajar.net> wrote:
>
> > If you're okay with "the containers contain identical software, and
> > fine with it being in just-booted state", then you might need to look
> > at "lxc copy" (which can create multiple copies of the container from
> > the same source, each with its own unique MAC address) instead of "lxc
> > snapshot".
>
> Not only identical software, but also identical process runtime state
> when I take the snapshot.
>
> Does "lxc copy" maintain the process running state?
No, you'll need to use `lxc snapshot` for that; if the container is
running, the process state will be snapshotted automatically.
Tycho
> Thanks!
>
> Xinyang
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list