[CRIU] restoring to a different ip address
Ross Boucher
rboucher at gmail.com
Tue Apr 28 09:39:50 PDT 2015
I don't entirely follow. Is there any way to change this behavior? When I
print the eth0 IP from my C program before restoring the IP is what I
expect, and then after restoring its changed, and that change seems to be
system wide.
On Tue, Apr 28, 2015 at 1:06 AM, Pavel Emelyanov <xemul at parallels.com>
wrote:
> On 04/28/2015 03:06 AM, Ross Boucher wrote:
> > If you restore an image that had dumped tcp connections, does CRIU try
> to change
> > the ip address of the host if there's a mismatch?
>
> Nope :)
>
> > In my experiment of spinning up a new docker container with an image
> from a different
> > container, the new container gets a new ip address, but when I exec into
> the new
> > container and ask it's IP, it seems to be set to the old IP address.
>
> That's because criu saves ip addresses of the net namespace it dumps, so on
> restore old addresses would be set inside net namespace.
>
> -- Pavle
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150428/bf333045/attachment.html>
More information about the CRIU
mailing list