[Q] Kernel question. LXC. virtualization.

Search This thread

moreknowledge

New member
Aug 24, 2014
2
0
Hello,

My question is as following, which kernels* support LXC ?

The following is a blog post explaining how one can run lxc on Android:
www DOT stgraber DOT org/2013/12/23/lxc-1-0-some-more-advanced-container-usage


For those unfamiliar with LXC, it can kinda be used like a virtual machine but with less resources. Currently there is a limitation that it can run only on linux flavors with the correct kernel and mac with less resources.

Docker is program that simplifies using LXC for containerization. (It was started using only LXC as its backend, but now there is support for more backends.) It has a simple, visual explanation of the difference between Virtaul Machines and containers on the following page:
www DOT docker DOT com/whatisdocker

Example use case:
funnel DOT hasgeek DOT com/droidcon2013/889-lxc-on-android-running-ics-and-jellybean-simultane

www DOT youtube DOT com/watch?v=UpIFByNLM5U

* Kernels that work on the galaxy S5
 
Last edited:

fffft

Senior Member
Jul 16, 2013
1,973
802
Who knows? That is a pretty esoteric question.

If you haven't already done so, do a search to see if there are any LXC threads on XDA. If not, that would be an indication of how many people have trod this path in advance of your post.

But all is not lost. Simply go to the android development subforum and have a look at the custom kernel threads. That should point you to their git sources where you can copy the kernel configuration details. Then you can use lxc -checkconfig to determine if the kernel in question supports LXC.

.
 
  • Like
Reactions: moreknowledge

moreknowledge

New member
Aug 24, 2014
2
0
Did not think it was that esoteric.

Thought if one of the custom kernel builders saw my post, they could answer it in a snap.

Hmm. Did not do a xda specific search. Thanks for that and the other idea.

Hmm. I get around 123 results when searching for lxc. Mostly in the Ubuntu touch part of the forums.
/usr/lib/lxc-android-config/
 

fffft

Senior Member
Jul 16, 2013
1,973
802
Would a kernel developer know if his kernel supports LXC? Probably. But there is no reason to believe that each kernel developer reads every question in the Q&A forum every day and has the time to reply as well.

So it would only make sense to guess how many forum members in total have talked about LXC in the past. There are 6 million members and 51,880,999 posts here.

123 posts in 51,880,999.. means that only 0.00024% - two posts in a million touched upon your subject. That is the very definition of esoteric. Given that the subject is so rare, the most reasonable thing to have done would have been to search the forum for existing threads before posting a question.

In any event, good luck with your project.

.
 
Last edited:
  • Like
Reactions: moreknowledge

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Who knows? That is a pretty esoteric question.

    If you haven't already done so, do a search to see if there are any LXC threads on XDA. If not, that would be an indication of how many people have trod this path in advance of your post.

    But all is not lost. Simply go to the android development subforum and have a look at the custom kernel threads. That should point you to their git sources where you can copy the kernel configuration details. Then you can use lxc -checkconfig to determine if the kernel in question supports LXC.

    .
    1
    Would a kernel developer know if his kernel supports LXC? Probably. But there is no reason to believe that each kernel developer reads every question in the Q&A forum every day and has the time to reply as well.

    So it would only make sense to guess how many forum members in total have talked about LXC in the past. There are 6 million members and 51,880,999 posts here.

    123 posts in 51,880,999.. means that only 0.00024% - two posts in a million touched upon your subject. That is the very definition of esoteric. Given that the subject is so rare, the most reasonable thing to have done would have been to search the forum for existing threads before posting a question.

    In any event, good luck with your project.

    .