Remove All Ads from XDA

[Q] Kernel question. LXC. virtualization.

2 posts
Thanks Meter: 0
By moreknowledge, Junior Member on 24th August 2014, 09:53 AM
Post Reply Email Thread

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
24th August 2014, 10:31 AM |#2  
fffft's Avatar
Senior Member
Thanks Meter: 776
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.

The Following User Says Thank You to fffft For This Useful Post: [ View ] Gift fffft Ad-Free
24th August 2014, 07:45 PM |#3  
OP Junior Member
Thanks Meter: 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.
24th August 2014, 08:06 PM |#4  
fffft's Avatar
Senior Member
Thanks Meter: 776
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.

The Following User Says Thank You to fffft For This Useful Post: [ View ] Gift fffft Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes