<div dir="ltr">Yes, it creates a container named &quot;test-container&quot;. You can omit the name and just use the id returned in future commands. Docker will use &quot;libcontainer&quot; (now known as runc) by default, which is its own container engine.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 24, 2015 at 10:54 AM Thouraya TH &lt;<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span lang="en"><span>Ok, I</span><span>&#39;m going to test</span> <span>and</span> <span>see. <br></span></span></div><span lang="en"><span>I have already CRIU installed. <br><br></span></span>Please, i have a question about this:</div><div dir="ltr"><br><br> docker-1.9.0-dev run -d --name <b>test-container</b> busybox:latest 
/bin/sh -c &#39;i=0; while true; do echo $i; i=$(expr $i + 1); sleep 3; 
done&#39;<div><br></div></div><div dir="ltr"><div><u>With this instruction:<br><br></u> i will create a docker container named test-container ? what is the virtualization technology it uses? <br><br><i>Mr Saied said: Docker can optionally use LXC as its execution driver to create containers.  However, by default, Docker does not use LXC.<br></i><i>If you simply google &quot;docker default execution driver&quot;, it will give you
 a bunch of useful links.  Here&#39;s the first one for your easy reference:</i><div><i><a href="http://blog.docker.com/2014/03/docker-0-9-introducing-execution-drivers-and-libcontainer/" target="_blank">http://blog.docker.com/2014/03/docker-0-9-introducing-execution-drivers-and-libcontainer/</a><br><br></i></div></div></div><div dir="ltr"> <br><span lang="en"><span>Thanks a lot for help.<br><br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-24 16:29 GMT+01:00 Ross Boucher <span dir="ltr">&lt;<a href="mailto:rboucher@gmail.com" target="_blank">rboucher@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There&#39;s not really a guide available at this point. Very roughly, here&#39;s what you need to do:<div><br></div><div>Install criu somewhere in your PATH, and install libprotobuf (though I don&#39;t know exactly where it needs to go)?</div><div><br></div><div>In one terminal, start the docker daemon with something like:</div><div>&gt; docker-1.9.0-dev -dD<br></div><div><br></div><div>in another terminal, you can now run a container, e.g. </div><div>&gt; docker-1.9.0-dev run -d --name test-container busybox:latest /bin/sh -c &#39;i=0; while true; do echo $i; i=$(expr $i + 1); sleep 3; done&#39;</div><div><br></div><div>now, you can checkpoint and restore:</div><div>&gt;  docker-1.9.0-dev checkpoint <span style="line-height:1.5">test-container</span></div><div><span style="line-height:1.5">&gt; </span> docker-1.9.0-dev<span style="line-height:1.5"> restore </span><span style="line-height:1.5">test-container</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">(feel free to rename it &quot;docker&quot; instead of docker-1.9.0-dev)</span></div><div><br></div></div><div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 24, 2015 at 10:24 AM Thouraya TH &lt;<a href="mailto:thouraya87@gmail.com" target="_blank">thouraya87@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<p class="MsoNormal">Ok Mr Pavel, thank you so much for answer.</p><p class="MsoNormal"><br></p>

<p class="MsoNormal"><span> </span>@<span>Ross
Boucher: Thank you so much for help. <br></span></p><p class="MsoNormal"><span><br></span></p>

<p class="MsoNormal"><span>As mentioned on this link, I have to download
these files:</span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt"><span><a href="https://github.com/boucher/docker/releases/download/v1.9.0-experimental-cr.1/criu-1.6-patched" target="_blank"><span style="color:windowtext;text-decoration:none">criu-1.6-patched
</span></a></span></p>

<p class="MsoNormal"><span><a href="https://github.com/boucher/docker/releases/download/v1.9.0-experimental-cr.1/docker-1.9.0-dev" target="_blank"><span style="color:windowtext;text-decoration:none">docker-1.9.0-dev
</span></a></span></p>

<p class="MsoNormal"><span><a href="https://github.com/boucher/docker/releases/download/v1.9.0-experimental-cr.1/libprotobuf-c.so.0" target="_blank"><span style="color:windowtext;text-decoration:none" lang="FR">libprotobuf-c.so.0 </span></a></span><span><span lang="FR"><span> </span></span></span></p>

<p class="MsoNormal"><span><a href="https://github.com/boucher/docker/archive/v1.9.0-experimental-cr.1.zip" target="_blank"><span style="color:windowtext;text-decoration:none" lang="FR">Source code (zip) </span></a></span><span><span lang="FR"></span></span></p>

<p class="MsoNormal"><span><span lang="FR"><a href="https://github.com/boucher/docker/archive/v1.9.0-experimental-cr.1.tar.gz" target="_blank"><span style="color:windowtext;text-decoration:none">Source code
(tar.gz) <br></span></a></span></span></p><p class="MsoNormal"><span><span lang="FR"><a href="https://github.com/boucher/docker/archive/v1.9.0-experimental-cr.1.tar.gz" target="_blank"><span style="color:windowtext;text-decoration:none"><br></span></a></span></span></p>

<p class="MsoNormal"><span><span lang="FR">That’s
it ? <br></span></span></p><p class="MsoNormal"><span><span lang="FR"><br></span></span></p>

<p class="MsoNormal"><span><span lang="EN">I
worked</span></span><span lang="EN"> <span>a lot with</span> <span>CRIU and <a href="https://help.ubuntu.com/12.04/serverguide/lxc.html" target="_blank">https://help.ubuntu.com/12.04/serverguide/lxc.html</a>
</span><span> </span><span>but I am very</span>
<span>beginner</span> <span>with</span> <span>Docker</span>.</span></p><p class="MsoNormal"><br><span lang="EN"></span><span></span></p>

<p class="MsoNormal"><span>How can i install this </span><span><b><span lang="FR"><a href="https://github.com/boucher/docker/releases/download/v1.9.0-experimental-cr.1/docker-1.9.0-dev" target="_blank"><span style="color:windowtext;text-decoration:none" lang="EN-US">docker-1.9.0-dev</span></a></span></b> ? Is there any
howTo ? In fact, I’d like testing Docker with a simple example and then doing
the snapshotting with CRIU.</span></p><p class="MsoNormal"><span><br> </span></p>

<p class="MsoNormal"><span>Kind Regards. <br></span></p><p class="MsoNormal"><span><br></span></p>

</div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-24 15:58 GMT+01:00 Ross Boucher <span dir="ltr">&lt;<a href="mailto:rboucher@gmail.com" target="_blank">rboucher@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, all the info is in that thread. You can try these pre-built binaries if you like:<div><a href="https://github.com/boucher/docker/releases/tag/v1.9.0-experimental-cr.1" target="_blank">https://github.com/boucher/docker/releases/tag/v1.9.0-experimental-cr.1</a><br></div><div><br></div></div><div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 24, 2015 at 9:36 AM Pavel Emelyanov &lt;<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12/24/2015 05:27 PM, Thouraya TH wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt;<br>
&gt; As Iknow, there is a work on using CRIU with Docker. I want to know, please, the progress<br>
&gt; if it is possible (Online publications? Etc..).<br>
<br>
Everything about it happens here: <a href="https://github.com/docker/docker/pull/13602" rel="noreferrer" target="_blank">https://github.com/docker/docker/pull/13602</a> and you&#39;re<br>
welcome to join :)<br>
<br>
&gt; I&#39;d like to test criu with Docker. Can i do that ? Is there any tutorial ?<br>
<br>
Please, say hello to Ross and Hui (I added them in Cc). They&#39;re one of main guys in this area :)<br>
<br>
-- Pavel<br>
<br>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>