[CRIU] restoring to a different ip address

Pavel Emelyanov xemul at parallels.com
Tue Apr 28 01:06:39 PDT 2015


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


More information about the CRIU mailing list