<div dir="ltr"><div><div><div><div>Hi <br></div>Thanks.<br></div>Actually there exists a directory: /var/lib/docker/0.0/containers where I  containers are  created. the only thing missing is that /0.0,  . I dont know how to change phaul.p_haul_docket.docker_dir . <br></div>yes I agree with you.<br></div>+sharmin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 11:50 AM, Nikita Spiridonov <span dir="ltr">&lt;<a href="mailto:nspiridonov@virtuozzo.com" target="_blank">nspiridonov@virtuozzo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 2016-04-20 at 09:39 +0200, Sharmin Sultana Sheuly wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; to solve pycriu module problem I did just like other environmental<br>
&gt; variable (I changed the path then you told) in the terminal: export<br>
&gt; PYTHONPATH=/home/sharmin/criu/lib/usr/local/lib/python2.7/dist-packages/<br>
&gt;<br>
&gt; the pycriu problem is no more visible.<br>
&gt;<br>
&gt; Then It  was showing error : No module named<br>
&gt; google.protobuf.internal . I downloaded protobuf from<br>
&gt;<br>
&gt;<br>
&gt; <a href="https://pypi.python.org/pypi/protobuf/3.0.0b2.post2" rel="noreferrer" target="_blank">https://pypi.python.org/pypi/protobuf/3.0.0b2.post2</a><br>
&gt;<br>
&gt; After extracting I ran  python setup.py install. the error is no more<br>
&gt; there.<br>
&gt;<br>
&gt; However now it is showing the error in the source host:<br>
&gt;<br>
&gt; root@sharmin-HP-15-Notebook-PC:~/p.haul# ./p.haul-wrap client<br>
&gt; 192.168.0.9 docker 89c01ef15fba<br>
&gt; Establish connection...<br>
&gt; Exec p.haul: ./p.haul docker 89c01ef15fba --to 192.168.0.9 --fdrpc 3<br>
&gt; --fdmem 4<br>
&gt; 09:25:26.376: Starting p.haul<br>
&gt; 09:25:26.376: Use existing connections, fdrpc=3 fdmem=4 fdfs=None<br>
&gt; 09:25:26.417: Setting up local<br>
&gt; 09:25:26.417: [Errno 2] No such file or directory:<br>
&gt; &#39;/var/lib/docker/containers&#39;<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;./p.haul&quot;, line 45, in &lt;module&gt;<br>
&gt;     worker = phaul.iters.phaul_iter_worker(ph_type, args.mode,<br>
&gt; connection)<br>
&gt;   File &quot;/home/sharmin/p.haul/phaul/iters.py&quot;, line 58, in __init__<br>
&gt;     self.htype = htype.get_src(p_type)<br>
&gt;   File &quot;/home/sharmin/p.haul/phaul/htype.py&quot;, line 35, in get_src<br>
&gt;     ht.init_src()<br>
&gt;   File &quot;/home/sharmin/p.haul/phaul/p_haul_docker.py&quot;, line 36, in<br>
&gt; init_src<br>
&gt;     self.full_ctid = self.get_full_ctid()<br>
&gt;   File &quot;/home/sharmin/p.haul/phaul/p_haul_docker.py&quot;, line 83, in<br>
&gt; get_full_ctid<br>
&gt;     dir_name_list = os.listdir(os.path.join(docker_dir, &quot;containers&quot;))<br>
&gt; OSError: [Errno 2] No such file or directory:<br>
&gt; &#39;/var/lib/docker/containers&#39;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Where is the problem in this case?<br>
&gt;<br>
<br>
</div></div>As far as I can see, phaul scan /var/lib/docker/containers directory<br>
trying to find out full name of container. That directory is missing in<br>
your case.<br>
<br>
As temporary workaround you can create /var/lib/docker/containers<br>
directory and fill it with required data (it seems you can just move you<br>
container there but I am not familiar with docker and can&#39;t say for<br>
sure) or change that path in you local phaul repository<br>
(phaul.p_haul_docket.docker_dir) appropriately.<br>
<br>
Honestly saying, I have no information about docker module current<br>
status and not sure that somebody use it at the present moment.<br>
<span class="im HOEnZb"><br>
&gt;<br>
&gt; +sharmin<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Apr 20, 2016 at 6:58 AM, Pavel Emelyanov &lt;<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         On 04/19/2016 06:11 PM, Cyrill Gorcunov wrote:<br>
&gt;         &gt; On Tue, Apr 19, 2016 at 06:06:57PM +0300, Pavel Emelyanov<br>
&gt;         wrote:<br>
&gt;         &gt;&gt; Works, thank you.<br>
&gt;         &gt;&gt;<br>
&gt;         &gt;&gt; Now my question is -- how to uninstall it back? %)<br>
&gt;         &gt;<br>
&gt;         &gt; :-) Use rpm. Actually we can implement own uninstall method,<br>
&gt;         &gt; but this would require that one who has been installing<br>
&gt;         &gt; it must remember the PREFIX and such he passed on install<br>
&gt;         &gt; procedure.<br>
&gt;<br>
&gt;<br>
&gt;         Please :)<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; CRIU mailing list<br>
&gt; <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>