<div dir="ltr">You should read up on creating docker images with Dockerfiles, or the docker commit command. Docker is intended to be used by creating an image that contains everything you need once, and then running that image with the appropriate configuration many times in many different containers.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 31, 2015 at 9:45 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><div>The dumping process works fine only with containers created with this manner : <br></div></div></div><div dir="ltr"><div><div><br>./docker-1.9.0-dev run -d --name <b>test6-container</b> ubuntu:latest /bin/sh -c &#39;i=0; while true; do echo $i; i=$(expr $i + 1); sleep 3; done&#39;<br><br></div></div></div><div dir="ltr"><div><div>?<br><br></div>Please, how can i in this case install jdk, vim, other tools ?<br></div>Bests. <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-31 15:25 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">Only detached containers are supported</div><div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 31, 2015 at 9:00 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"><div><div><div>./docker-1.9.0-dev run --name test8-container -t ubuntu:latest  /bin/bash     (without -i option it didn&#39;t work also !)<br>root@4812c6e86698:/# ls<br><br></div>Second Terminal:<br>/docker-1.9.0-dev checkpoint test8-container<br>Error response from daemon: Cannot checkpoint container test8-container: criu failed: type NOTIFY errno 0</div></div></div><div dir="ltr"><div><div><br>Error: failed to checkpoint one or more containers<br><br></div></div></div><div dir="ltr"><div><div></div>My goal is to create a docker container (ubuntu), access to this container (root@bcd7fcd5b0e1:/home#) and install some tools inside and do the dumping process. <br><br></div><div>Any help please ?<br></div><div><br></div>Thanks a lot. <br><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-31 14:38 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">Interactive containers are not currently supported</div><div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 31, 2015 at 8:25 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"><div><div><div>Hi all :)<br><br></div>I have done two tests with:<br>criu --version<br>Version: 1.6<br>GitID: v1.6-5-g5e1a8a2<br><br><br></div><u>Test 1 ( <span lang="FR">Successful
Checkpoint Restore </span>): <br><br></u></div>First Terminal: <u><br></u><div><u><br></u>./docker-1.9.0-dev run -d --name <b>test6-container</b> ubuntu:latest /bin/sh -c &#39;i=0; while true; do echo $i; i=$(expr $i + 1); sleep 3; done&#39;<br>67de0ff343a32b779fee58f1990aa50bfb0b99d2cc6066597fffef03c5b87839<u><br><br></u>./docker-1.9.0-dev ps -a<br>CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                      PORTS               NAMES<br>67de0ff343a3        ubuntu:lates        &quot;/bin/sh -c &#39;i=0; whi&quot;   10 seconds ago      <b>Up </b>9 seconds                                   <b> test6-container</b><u><br><br></u></div><div>Second Terminal: <u><br><br></u>./docker-1.9.0-dev checkpoint test6-container<br>test6-container<u><br><br></u>/docker-1.9.0-dev ps -a<br>CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                       PORTS               NAMES<br>67de0ff343a3        ubuntu:lates        &quot;/bin/sh -c &#39;i=0; whi&quot;   24 seconds ago      <b>Checkpointed 4 seconds ago</b>                       test6-container<u><br><br></u>./docker-1.9.0-dev restore test6-container<br>test6-container<u><br><br></u>./docker-1.9.0-dev ps -a<br>CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                      PORTS               NAMES<br>67de0ff343a3        ubuntu:lates        &quot;/bin/sh -c &#39;i=0; whi&quot;   38 seconds ago      <b>Up </b>3 seconds                                    test6-container<u><br><br><br><br><br></u></div><div><br><div><div><div><u>Test 2 ( <span lang="FR">Failed
Checkpoint Restore </span>): <br></u>First Terminal:<br><br>./docker-1.9.0-dev run -i --name<b> test4-container -t ubuntu:latest  /bin/bash</b><br>root@ebd608402e1d:/# ls<br>bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var<br>root@ebd608402e1d:/# cd /home/<br><br>Second terminal<br><br>./docker-1.9.0-dev ps -a<br>CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                      PORTS               NAMES<br>ebd608402e1d        ubuntu:lates        &quot;/bin/bash&quot;              2 minutes ago       Up 4 seconds                                    test4-container<br><br><b><br>./docker-1.9.0-dev checkpoint test4-container<br>Error response from daemon: Cannot checkpoint container test4-container: criu failed: type NOTIFY errno 0<br>Error: failed to checkpoint one or more containers<br><br></b></div><div>Any help please ?<br></div><div>Thank you so much.<br></div><div>Kind regards. <b><br></b></div></div></div></div></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>