Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,687 Members 39,972 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Kernel question. LXC. virtualization.

Tip us?
 
moreknowledge
Old
(Last edited by moreknowledge; 24th August 2014 at 10:01 AM.) Reason: adding question clarification
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2014
Prompt [Q] Kernel question. LXC. virtualization.

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
 
fffft
Old
#2  
fffft's Avatar
Senior Member
Thanks Meter 414
Posts: 1,559
Join Date: Jul 2013
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: [ Click to Expand ]
 
moreknowledge
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2014
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
Old
(Last edited by fffft; 24th August 2014 at 08:14 PM.)
#4  
fffft's Avatar
Senior Member
Thanks Meter 414
Posts: 1,559
Join Date: Jul 2013
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes