<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 27, 2016 at 6:39 PM, Thouraya TH <span dir="ltr"><<a href="mailto:thouraya87@gmail.com" target="_blank">thouraya87@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hi all,<br><br></div><div>Please, i'd like to know if there is someone has intsalled BLCR <a href="https://upc-bugs.lbl.gov/blcr-dist/blcr-0.8.6_b4.tar.gz" target="_blank">https://upc-bugs.lbl.gov/blcr-<wbr>dist/blcr-0.8.6_b4.tar.gz</a> inside a container ?<br></div><div><br><br><br></div><div>I have installed BLCR on a HOST ubuntu but i can't intsalled it into guests (lxc container and docker container)<br></div><div>i have these errors messages:<br><br>checking for Linux kernel build in /lib/modules/3.13.0-24-generic<wbr>/build... not found<br>checking for Linux kernel build in /usr/src/linux-3.13.0-24-gener<wbr>ic-obj... not found<br>checking for Linux kernel build in /usr/src/linux-3.13.0-24-gener<wbr>ic... not found<br>checking for Linux kernel build in /usr/src/linux-headers-3.13.0-<wbr>24-generic... not found<br>checking for Linux kernel build in /usr/src/kernels/3.13.0-24-gen<wbr>eric... not found<br>configure:
error: Could not find a directory containing a Linux kernel
3.13.0-24-generic build. Perhaps try --with-linux=FULL_PATH_TO_KERN<wbr>EL_BUILD<br>root@d6c3f190d793:/home/blcr-b<wbr>uild# uname -a <br><b>Linux d6c3f190d793 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux</b><br>root@d6c3f190d793:/home/blcr-b<wbr>uild# uname -m<br><b>x86_64</b><br>root@d6c3f190d793:/home/blcr-b<wbr>uild# <br><br></div></div></div></blockquote><div><br></div><div><br></div><div>Short version: if something is tied to a particular kernel, or requires kernel headers, then most likely it won't work in a container. Don't waste your time. You'd need either a full VM (e.g KVM) or physical servers instead.</div><div><br></div><div>On another note, there's <a href="https://criu.org/Main_Page">https://criu.org/Main_Page</a> , which can be used to create stateful snapshot of containers. Last time I tested, it only works for a LIMITED use case, but might be enough to replace some BLCR functionality.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>