I am trying to run a web-server on my Android device (several available models, ARM or x86 hardware) inside a container (lxc / lxd). Looking for the easiest and safest way to do it. I was thinking about installing ubuntu-server on a smartphone. The task has led me in the direction of unlocking the bootloader, replacing the recovery and flashing a custom ROM (which needs to be found / chosen / tested / trusted OR developed). Before diving into xda-developers forum and Android SDK docs I am trying to figure out whether it is possible to make lxc / lxd run directly on Android (which version).

The only (very old) post by Stéphane Graber on the subject - section "LXC on Android devices" - has left me rather pessimistic. According to him LXC support on Android devices hasn't been a priority, although it was generally possible...

I've also come across mentioning of lxc-android-config tool: here and here. However it lacks documentation or any kind of user-oriented notes.

Related questions:

1)How to install ubuntu server for lxc on a smartphone (ARM or x86)?

2)How to use Android SDK and smartphone vendor tools to boot another kernel?

  • 1
    You should ask UBports team on their forum forums.ubports.com . Ubuntu touch is not supported here. – N0rbert May 23 at 8:51
  • @N0rbert Thank you, I will. I still would like to ask here since it is a major and well-structured Q&A site for linux / debian / ubuntu distro branch. I believe the subject relates to Ubuntu (since it is about running ubuntu in containers on other platforms)... I've just corrected the question topic to make it clear. – Dmitry Somov May 23 at 9:54
  • Ubuntu Touch questions should be on topic here. However, repeatedly asking the same very broad questions over and over and over across multiple SE sites, is not cool. – dobey May 25 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.