<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi All,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm doing a C/R of a Docker container running a NodeJS app making network calls (like this: <a href="https://criu.org/Docker_External">https://criu.org/Docker_External</a> - I know it's discouraged, please read on).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I can successfully dump the process running in the container (the container is stopped after this) and (seemingly) I can restore the process successfully too (criu reports it that it was successful).<br><br>When the restore is finished the process is started, but it exits/dies immediately for some reason. I can see this because I log to file from the NodeJS process itself and logging continue after the process gets restored (I also listen for an 'exit' event on the NodeJS process and it exists with code 1).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What could be the problem? I can see that there's an Error message in the restore.log (I've attached the dump and restore logs), but I can't make sense of it, unfortunately. ("Error (criu/net.c:1241): Unknown peer net namespace")</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I can do the same thing with docker checkpoint and docker start --checkpoint and it works flawlessly. I do all of this in a virtual environment, running Ubuntu 18.04 LTS (<a href="https://app.vagrantup.com/ubuntu/boxes/bionic64">this box</a>). Docker version 19.03.7, CRIU 3.13.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for any input.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Robert</div></div>