[lxc-users] Install BLCR in a lxc container
Fajar A. Nugraha
list at fajar.net
Tue Dec 27 14:52:43 UTC 2016
On Tue, Dec 27, 2016 at 6:39 PM, Thouraya TH <thouraya87 at gmail.com> wrote:
> Hi all,
>
> Please, i'd like to know if there is someone has intsalled BLCR
> https://upc-bugs.lbl.gov/blcr-dist/blcr-0.8.6_b4.tar.gz inside a
> container ?
>
>
>
> I have installed BLCR on a HOST ubuntu but i can't intsalled it into
> guests (lxc container and docker container)
> i have these errors messages:
>
> checking for Linux kernel build in /lib/modules/3.13.0-24-generic/build...
> not found
> checking for Linux kernel build in /usr/src/linux-3.13.0-24-generic-obj...
> not found
> checking for Linux kernel build in /usr/src/linux-3.13.0-24-generic...
> not found
> checking for Linux kernel build in /usr/src/linux-headers-3.13.0-24-generic...
> not found
> checking for Linux kernel build in /usr/src/kernels/3.13.0-24-generic...
> not found
> 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
> EL_BUILD
> root at d6c3f190d793:/home/blcr-build# uname -a
> *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*
> root at d6c3f190d793:/home/blcr-build# uname -m
> *x86_64*
> root at d6c3f190d793:/home/blcr-build#
>
>
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.
On another note, there's https://criu.org/Main_Page , 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.
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161227/edd6ebd0/attachment.html>
More information about the lxc-users
mailing list